This repository was archived by the owner on Mar 16, 2019. It is now read-only.
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
writeStream() does not create file if it doesn't exist? #491
Closed
Description
iOS: https://github.com/wkh237/react-native-fetch-blob/blob/master/ios/RNFetchBlob/RNFetchBlob.m#L219
Right now writeStream()
starts by checking if a file exists and/or is a directory.
I'm not sure about the behavior on "file does not exist". Shouldn't the default for a write stream be to create the file if it doesn't exist?