You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Ben Page (Commented) (JIRA)" <ji...@apache.org> on 2012/03/15 06:45:43 UTC
[jira] [Commented] (CB-34) File Upload Fails with: The file was
only partially uploaded.
[ https://issues.apache.org/jira/browse/CB-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229917#comment-13229917 ]
Ben Page commented on CB-34:
----------------------------
i think this is due to the app pausing uploads when the user goes to the home screen and/or the screen turns off. can we make it so the obj-c code doesn't pause when put in the background?
in the meantime i have implemented purplecabbage's ASIHttpRequest wrapper plugin here: https://github.com/purplecabbage/filetransferextension
> File Upload Fails with: The file was only partially uploaded.
> -------------------------------------------------------------
>
> Key: CB-34
> URL: https://issues.apache.org/jira/browse/CB-34
> Project: Apache Callback
> Issue Type: Bug
> Components: iOS
> Reporter: Shazron Abdullah
>
> reported at: https://github.com/callback/callback-ios/issues/28
> This doesn't happen every time - but sometimes I get the error "The file was only partially uploaded." in PHP when I attempt to POST the image via PhoneGap API.
> My code is the same as this link: http://docs.phonegap.com/en/1.2.0/phonegap_file_file.md.html#FileTransfer
> I"ve configured the PHP.INI file to accept large file sizes so it can't be that. This happens very infrequently - but just want to see if anyone has had this problem.
> Thanks,
> Greg
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira