Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Marco N.2
10 years agoNew member | Level 1
chunked uploading iOS
Uploading large files is causing the -1101 error in my app frequently from my customers and also when I test. I am using a 50 Mbps internet connection on a 170 MB file size upload.
Any ideas or wor...
Greg-DB
Dropbox Community Moderator
10 years agoWhen using chunked upload instead of single request uploading, there's extra overhead, due to the additional requests that need to be made. So, while it should be more reliable (i.e., less likely to timeout), it can take longer.
You can optimize this compromise for your scenario by choosing your chunk size (i.e., how much data you send per request) carefully. Larger chunks will reduce the overhead, but will be more likely to time out on uploading any particular chunk. Smaller chunks are less likely to time out, but introduce more overhead.
The iOS Core SDK uses a chunk size of 2 MB, and unfortunately doesn't expose a way to set a custom size though. (I'll consider this a feature request, however.) The SDK is open source though, so you can add the source directly and modify it if/as desired. The chunk size is passed to readDataOfLength in the uploadFileChunk in DBRestClient.m.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!