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...
Alek S.
11 years agoNew member | Level 1
I'm doing it 1 at a time, in essence its:
for var m in metadata.contents
{
var req = client?.createLoadFileRequest(m.path, atRev:m.rev, intoPath:local.stringByAppendingPathComponent(m.filename))
addToQueue(req)
}
Where createLoadFileRequest can be seen here:
https://github.com/skela/dbcore/blob/master/DropboxCore/DBCRestClient.m#L180
I can't for the life of me figure out why its always 172 files, without fail, even with or without a queue.
Just wanted to make sure that this isn't an issue on your end before I spend too much time trying to solve this.
What's considered best practice if I have to download 10k very small files in a folder using CoreSDK?
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!