Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Suporte DES B.
11 years agoNew member | Level 1
How to get the upload progress for p Dropbox?
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
Greg-DB
Dropbox Community Moderator
10 years agoHi Girum, this thread is posted in the "API Development" forum, for programmers using the Dropbox API.
It sounds like you're trying to share some feedback regarding one of the Dropbox apps, so you'd be better served by opening a new thread in the "Production Feedback" forum:
https://www.dropboxforum.com/hc/en-us/community/posts/new?community_post%5Btopic_id%5D=200209235
- Elina9 years agoNew member | Level 2
In dropbox-core-sdk-2.1.1, how to get the progress of the upload
- Greg-DB9 years ago
Dropbox Community Moderator
Hi Elina, the Dropbox Java SDK doesn't currently offer transfer progress information like this, but I'll be sure to pass this along as a feature request. You can find more information, including a possible workaround, here:
https://github.com/dropbox/dropbox-sdk-java/issues/66- Elina9 years agoNew member | Level 2
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?
- Greg-DB8 years ago
Dropbox Community Moderator
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#uploadAndFinish-java.io.InputStream-long-com.dropbox.core.util.IOUtil.ProgressListener- ) 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#download-java.io.OutputStream-com.dropbox.core.util.IOUtil.ProgressListener- ) optionally takes a ProgressListener parameter the same way.
About 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!