[ 
https://issues.apache.org/jira/browse/CB-7073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jcesarmobile closed CB-7073.
----------------------------
    Resolution: Won't Do

The plugin has been deprecated and this won't be implemented.
Read the blog post about the alternatives
https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html

> Do not overwrite existing file on transfer fail
> -----------------------------------------------
>
>                 Key: CB-7073
>                 URL: https://issues.apache.org/jira/browse/CB-7073
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-plugin-file-transfer (DEPRECATED)
>            Reporter: ManuelPaulo
>            Priority: Trivial
>
> fileTransfer is used a lot to update files.
> Using Network Link Conditioner on iOS, I simulated a 100% loss network and 
> when the file transfer fails, the stored local life gets deleted. 
> fileTransfer should not overwrite the existing file in case of a failed 
> transfer.
> My suggestion would be a cache mechanism like the OS's. Start downloading to 
> .tmp file; if successful move it to the final file name, if not, delete the 
> .tmp.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to