cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

Steven T.
New member | Level 2

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 11

Greg-DB
Dropbox Staff

Sure, the source for the iOS Core SDK is included in the download here:

https://www.dropbox.com/developers-v1/core/sdks/ios

Jeremy P.3
New member | Level 1

I had downloaded the SDK a while back, but didn't notice that in addition to the DropboxSDK.framework folder (which I added to my Xcode project), the download included the sources, too.  Thanks!

 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Jeremy P.3 New member | Level 1
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?