[
https://issues.apache.org/jira/browse/CB-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
jcesarmobile closed CB-2424.
----------------------------
Resolution: Won't Fix
The plugin has been deprecated and this won't be fixed.
Read the blog post about the alternatives
https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html
> FileTransfer returns misleading "File Not Found" when no body in HTML return
> ----------------------------------------------------------------------------
>
> Key: CB-2424
> URL: https://issues.apache.org/jira/browse/CB-2424
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-file-transfer (DEPRECATED)
> Affects Versions: 2.4.0
> Environment: Android client trying to upload files to Amazon S3.
> Reporter: Thomas O'Dell
> Assignee: Andrew Grieve
> Priority: Minor
> Labels: Android, features
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> FileTransfer will return "File Not Found" error if the remote server returns
> only an HTML Response Code. This is very misleading, as it leads the user to
> believe the file is missing on the local file system.
> The problem is FileTransfer attempts to open the server connection for read,
> which raises the exception. FileTransfer should recognise that it is possible
> and legitimate for the remote open to fail, and simply pass the HTML response
> code back to the user as the error.
> Note: this has not been tested on other OS's. Try sending unauthorised files
> to Amazon S3 and you'll get the situation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]