We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Alek S.
11 years agoNew member | Level 1
Downloading all the files in a folder using CoreSDK
Since you are deprecating the Datastore and Sync SDKs for iOS. I'll need to redo quite a bit of stuff. Anyway, one of the things I'll need to do now is:
I want to download all the files in a partic...
Greg-DB
Dropbox Community Moderator
11 years agoThere certainly shouldn't be anything on our side causing this. If the API was going to intentionally fail a request, it would respond with an actual HTTP error code, but -1001 is just a client side error code.
The best practice is to only download files if/when you need them, but if you do need to download many files, the best practice is just to loop through and download them individually, limiting the number of simultaneous connections.
Is it always the same file that this occurs on? Are you able to see how long the request is in fact taking before that error occurs?
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!