We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Vladimir K.2
10 years agoNew member | Level 1
HTTP API V2 download range request: strange behaviour
Hi! I'll appreciate any help. Thank you!
I'm trying to download file by chunks.
URL: https://content.dropboxapi.com/2/files/download
File size: 1200 bytes
First time (after creation in dropbo...
Vladimir K.2
10 years agoNew member | Level 1
Hooray! Local caching was the reason. All I needed to do is to create custom NSURLSession with the default configuration and change its caching policy to NSURLRequestReloadIgnoringLocalCacheData. Now everything works fine. Thanks for trying to help me :)
NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
configuration.requestCachePolicy = NSURLRequestReloadIgnoringLocalCacheData;
NSURLSession *session = [NSURLSession sessionWithConfiguration:configuration];
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!