Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
It seems that the iOS Objective-C framework support for the Dropbox API v2 is much slower at downloading large numbers (200+) of files than the original DBRestClient method.
For example in my iOS app...
v1 used this method...
[restClient loadFile:dropboxPath intoPath:localPath];
which would then do a callback to..,
-(void)loadedFile:(NSString *)localPath etc.
--------------------------------
v2 uses this method...
[dbClient.filesRoutes downloadUrl:remoteFilePath overwrite:YES destination:destinationURL]
With completion passing to the downloadUrl responseBlock.
---------------------------------
The original restClient method would download 250 files (10K each) in about 30 seconds and the new completionBlock method takes over a minute to download the same files on the same network and the same device.
Can anyone offer any insight as to why I am seeing such a slower download time with the new framework/API?
Is there a way to download the entire contents of a folder with a single call?
I am using ObjectiveDropboxOfficial v3.1.1 as an embedded xCode project but have seen the same results as far back as v3.0.1.
Thanks for any thoughts on this.
Regarding multiple downloads: I have a 'fifo-spool' that limits the number of outstanding requests that are passed to the Dropbox framework. I've tried adjusting the limit between 25 and 500 simultaneous downloads and still see basically the same download times.
The repsonseBlock paradigm is rather new to me so I may be doing something wrong in that area.
What I am hearing from you is that the problem is on my end, and that is what I suspected. I just wanted some confirmation on that.
Thanks for your thoughts on this.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!