Hi,

I think a developer who uses FileTransfer's download does not always care to 
which file the remote content is downloaded to.

I suggest to allow a target parameter of "null" to denote some temporary file.
https://github.com/apache/cordova-plugin-file-transfer/blob/master/src/android/FileTransfer.java#L180

In the success callback the developer gets a FileEntry and can do with it 
whatever is needed e.g. delete it after use.

Do you think this is usefull for cordova user?

- Axel

https://cordova.apache.org/docs/en/2.5.0/cordova_file_file.md.html#FileTransfer_download

Reply via email to