You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (Created) (JIRA)" <ji...@apache.org> on 2011/11/28 20:29:39 UTC
[jira] [Created] (CB-34) File Upload Fails with: The file was only
partially uploaded.
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
[jira] [Commented] (CB-34) File Upload Fails with: The file was
only partially uploaded.
Posted by "Ben Page (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (CB-34) File Upload Fails with: The file was
only partially uploaded.
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288876#comment-13288876 ]
Shazron Abdullah commented on CB-34:
------------------------------------
For 2.0.0 when we drop iOS 3.0 support and can use blocks freely. We are already using it in the CDVLocalStorage plugin however to complete a backup, but with appropriate safeguards - so technically this can go in 1.9.0
> File Upload Fails with: The file was only partially uploaded.
> -------------------------------------------------------------
>
> Key: CB-34
> URL: https://issues.apache.org/jira/browse/CB-34
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Shazron Abdullah
> Fix For: 2.0.0
>
>
> 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
[jira] [Commented] (CB-34) File Upload Fails with: The file was
only partially uploaded.
Posted by "Shazron Abdullah (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201984#comment-13201984 ]
Shazron Abdullah commented on CB-34:
------------------------------------
Need more info - and a specific test case.
> 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
[jira] [Updated] (CB-34) File Upload Fails with: The file was only
partially uploaded.
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-34:
-------------------------------
Fix Version/s: 2.0.0
> 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
> Fix For: 2.0.0
>
>
> 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
[jira] [Commented] (CB-34) File Upload Fails with: The file was
only partially uploaded.
Posted by "Shazron Abdullah (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251270#comment-13251270 ]
Shazron Abdullah commented on CB-34:
------------------------------------
http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4-SW28
We can only support this once we kill iOS 3 support (since it uses blocks): CB-93
> 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
[jira] [Resolved] (CB-34) File Upload Fails with: The file was only
partially uploaded.
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-34.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.1.0)
2.0.0
This was fixed when chunked uploads was implemented in CB-38, and it uses blocks already.
> File Upload Fails with: The file was only partially uploaded.
> -------------------------------------------------------------
>
> Key: CB-34
> URL: https://issues.apache.org/jira/browse/CB-34
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Shazron Abdullah
> Fix For: 2.0.0
>
>
> 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
[jira] [Updated] (CB-34) File Upload Fails with: The file was only
partially uploaded.
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-34:
-------------------------------
Fix Version/s: (was: 2.0.0)
2.1.0
> File Upload Fails with: The file was only partially uploaded.
> -------------------------------------------------------------
>
> Key: CB-34
> URL: https://issues.apache.org/jira/browse/CB-34
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Shazron Abdullah
> Fix For: 2.1.0
>
>
> 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