You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Davide (JIRA)" <ji...@apache.org> on 2015/12/23 16:05:46 UTC
[jira] [Closed] (CB-10253) file-transfer upload deletes original
file on exception
[ https://issues.apache.org/jira/browse/CB-10253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide closed CB-10253.
-----------------------
Duplicate.
> 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
> Environment: Windows Phone 8.1, Nokia Lumia 520
> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org