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
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.
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?
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.)
Ray, I have a sample of registering a progress callback for files.download in SwiftyDropbox here:
It should work the same way for files.upload.
There's also a sample of using upload sessions here:
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
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:
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.Sound good? Let's get started.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!