We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
SneYellow46
4 years agoExplorer | Level 4
File upload to dropbox timeout/pauses after certain time. Objective c SDK for dropbox.
Hi,
We have an iOS objective c app with dropbox sdk integrated.
The app uploads large number of photos/files from local app storage to dropbox folder.
When we start the upload process it upload...
Greg-DB
Dropbox Community Moderator
4 years agoCan you clarify what happens when it "pauses the upload process after certain time"? For instance, do you get any error/output?
Also when you say you upload a "large number of photos/files", how many are you uploading simultaneously?
- SneYellow464 years agoExplorer | Level 4
Greg-DB , we have a system where in we upload almost 100-150 images/files at a time.
With regards to error message, we sometimes get upload timeout from dropbox and sometimes it just pauses without going to error block.
So not really sure what is causing the issue. dropbox sdk has mentioned in the documentation that iOS wont stop the upload/download process and there is no timeout.
- Greg-DB4 years ago
Dropbox Community Moderator
Uploading 100-150 files at the same may exhaust the system or network connection, as each one requires its own HTTPS request. I recommend limiting how many you perform simultaneously. You may want to experiment a bit to see what a good limit is for your scenario/environment.
- SneYellow464 years agoExplorer | Level 4
Hi Greg-DB , I tested the app several times.
As per my investigation the issue is it goes into error block for few upload requires(out of all) with timeout error when trying to upload so many files in a loop at once.
Is there any solution provide by Dropbox SDK for this other than limiting the number of files/requests to upload at a time?
Let me know soon.
Thanks,
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!