You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2013/02/14 19:51:14 UTC
[jira] [Assigned] (CB-2424) FileTransfer returns misleading "File
Not Found" when no body in HTML return
[ https://issues.apache.org/jira/browse/CB-2424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser reassigned CB-2424:
------------------------------
Assignee: Andrew Grieve (was: Joe Bowser)
> 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: Android
> 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: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira