cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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

Re: How to get the upload progress for p Dropbox?

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.

Re: How to get the upload progress for p Dropbox?

Greg-DB
Dropboxer

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?

Re: How to get the upload progress for p Dropbox?

Ray F.11
New 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.)

Re: How to get the upload progress for p Dropbox?

Greg-DB
Dropboxer

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:

https://gist.github.com/smarx/4bd20487ddf37a5942bf

Re: How to get the upload progress for p Dropbox?

Ray F.11
New member | Level 2

Thanks Gregory!

Re: How to get the upload progress for p Dropbox?

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

 

Re: How to get the upload progress for p Dropbox?

Greg-DB
Dropboxer

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

Re: How to get the upload progress for p Dropbox?

Elina
New member | Level 2

In dropbox-core-sdk-2.1.1, how to get the progress of the upload

Re: How to get the upload progress for p Dropbox?

Greg-DB
Dropboxer
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
Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

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