cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

How to get the upload progress for p Dropbox?

How to get the upload progress for p Dropbox?

Suporte DES B.
New member | Level 1

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

13 Replies 13

Elina
New 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-DB
Dropbox Staff
No, unfortunately I don't have another recommendation. I've sent this along as a feature request.

Elina
New member | Level 2

Thanks Gregory! I really hope dropbox can achieve this function at an early date

Greg-DB
Dropbox Staff

@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:

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

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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Girum S. New member | Level 1
  • User avatar
    Ray F.11 New member | Level 2
What do Dropbox user levels mean?