Forum Discussion

蕾雷's avatar
蕾雷
Helpful | Level 6
10 years ago

File size limit

I am using dropbox sdk develop a android app. I would like to know the file upload and download restrictions? How much a specific size ? I am now using version dropbox-core-sdk-2.0.3

4 Replies

Replies have been turned off for this discussion
  • Alexandra F.1's avatar
    Alexandra F.1
    New member | Level 1
    10 years ago

    Dropbox's uploading works best for files less than 150 MB in size. See https://dropbox.github.io/dropbox-sdk-java/api-docs/v2.0.x/com/dropbox/core/v2/files/DbxUserFilesRequests.html . The downloading endpoints will return a size parameter in the response, though I'm not sure what the size restrictions are, if any. You can check the size of a file before downloading it by calling getMetadata on the file, and then calling getSize on the result.

  • To clarify, while the upload method is restricted to files with a maximum size of 150MB, Dropbox itself has no restrictions on the size of files uploaded and downloaded.

    If you're uploading files larger than 150MB, you'll need to use upload sessions (see the uploadSession* methods in the class Alexandra linked to above).

  • 蕾雷's avatar
    蕾雷
    Helpful | Level 6
    10 years ago

    thank you very much!

    Also I would like to ask:

      1. Can add upload / download progress listeners in the new sdk version ?

      2. Is it possible to get modified / created time for folders too?

      3. V2 logout , such as V1 in Session.unlink ?

    looking forward to your reply

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!