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
13 Replies
Replies have been turned off for this discussion
- Chris R.11 years agoCollaborator | Level 10
All they give is an estimate of remaining time to sync files ("Syncing [2 files remaining, 4 mins left]"), but be aware that this time estimate is highly inaccurate.
- Greg-DB11 years ago
Dropbox Community Moderator
Are you referring to the Dropbox desktop client, or an app you made that uses the Dropbox API? If it's the later, what SDK/library are you using?
- Ray F.1110 years agoNew member | Level 2
I would like to expose a progress bar on my iOS app using the SwiftyDropbox API to upload a file.
Currently I can only update the progress bar when a file completes a upload so the resolution is very poor. Is there a way to get finer detail about bytes transferred periodically.
The only way I can think about doing this is to use the session upload. I don't see this as being a great solution. It would be great if there were an example of doing this somewhere (i.e. splitting up the file, and sending it using a session.)
- Greg-DB10 years ago
Dropbox Community Moderator
Ray, I have a sample of registering a progress callback for files.download in SwiftyDropbox here:
https://stackoverflow.com/questions/35659454/swiftydropbox-download-progress/35659995#35659995
It should work the same way for files.upload.
There's also a sample of using upload sessions here:
- Ray F.1110 years agoNew member | Level 2
Thanks Gregory!
- Girum S.10 years agoNew member | Level 1
its so annoying to see no progress bar ....the time is so so so so so in accurate its been 3 min for 3 hours now. i don`t know what kind of watch they are using
- Greg-DB10 years ago
Dropbox Community Moderator
Hi 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?
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!