Davide created CB-10253:
---------------------------

             Summary: file-transfer upload deletes original file on exception
                 Key: CB-10253
                 URL: https://issues.apache.org/jira/browse/CB-10253
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File Transfer
    Affects Versions: 3.5.0
            Reporter: Davide


In FileTransferProxy.js on line 219

                                // Cleanup, remove incompleted file
                                getTransferError.then(function(transferError) {
                                    storageFile.deleteAsync().then(function() {
                                        errorCallback(transferError);
                                    });
                                });

This shouldn't happen when you're uploading files. Upload was probably 
copy-pasta from Download.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to