Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Steven T.'s avatar
Steven T.
New member | Level 2
11 years ago

Is it possible to load a small part of a file?

I'm using the Sync API on iOS. The app deals with a lot of large data files which have information in their header. I'd like to display this information (perhaps less than 1kb of data) to the user without having to download a file (anywhere up to 50mb and beyond). I can only find a way to load the entire file into an NSData but that would be too slow. Is there some way to load only the first part of a file?

I'd also like the possibility of creating and uploading thumbnails because Dropbox's servers aren't be able to create thumbnails for the files we use. Ideally we could upload a thumbnail in a common browser image file format (PNG, JPG or GIF for example) so that Dropbox could show users these thumbnails in other contexts.

11 Replies

Replies have been turned off for this discussion

About Dropbox API Support & Feedback

Node avatar for 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!