Take Your Search Game to the Next Level with Dropbox Dash 🚀✨ Curious how it works? Ask us 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
Sort By
- Chris R.Collaborator | 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-DB
Dropbox Staff
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.11New 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-DB
Dropbox Staff
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.11New member | Level 2
Thanks Gregory!
- Girum S.New 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-DB
Dropbox Staff
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
- ElinaNew member | Level 2
In dropbox-core-sdk-2.1.1, how to get the progress of the upload
- Greg-DB
Dropbox Staff
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
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,000 PostsLatest Activity: 9 hours ago
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!