Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I need to get the progress of the upload to Dropbox to mount a progress bar (JProgressBar).
Is how to do this or do I have to give a manipulated into things? hehehe
Thanks Gregory! Read this article before, but the method provided here is only applicable to the download, you have a better recommendation for the upload program?
Thanks Gregory! I really hope dropbox can achieve this function at an early date
@Elina The Dropbox API v2 Java SDK now offers progress listeners for uploads and downloads. This has been released in v3.0.9:
https://github.com/dropbox/dropbox-sdk-java/releases/tag/v3.0.9
There's an example of using it with with the uploadAndFinish method ( https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/DbxUploader.html#uploadA... ) for an upload here:
It works the same way with file downloads; the download method ( https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/DbxDownloader.html#downl... ) optionally takes a ProgressListener parameter the same way.
Hi there!
If you need more help you can view your support options (expected response time for a 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!