You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

kostCity's avatar
kostCity
New member | Level 2
7 years ago

Freezing on Upload by API

Hello, I am trying to upload big file with the Dropbox API, I am using the code from this example

https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/upload-file/src/main/java/com/dropbox/core/examples/upload_file/Main.java

(Edit) (I have try to upload 16MB and 200MB) it freeze at the 122 line of the example from the GitHub.

 

I am using dropbox-core-sdk-3.0.3.jar

 

I am doing anything wrong?

Thanks

  • From the example of the GitHub, I have lower the CHUNKED SIZE to 1MB and now it is working.

  • kostCity's avatar
    kostCity
    New member | Level 2

    From the example of the GitHub, I have lower the CHUNKED SIZE to 1MB and now it is working.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 5 hours ago
325 Following

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 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!