Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Mehul M.
11 years agoNew member | Level 1
How To Get Upload Progress Of A Uploading File With Dropbox Core API?
I'm currently using PHP + jQuery + Ajax to upload a file to my own dropbox account using localhost. I need to know how can I add a progressbar to this. Is there any way to do this? Currently I'm uplo...
Greg-DB
Dropbox Community Moderator
11 years agoThe PHP Core SDK doesn't currently offer a way to track progress on file uploads using uploadFile, but I'll be sure to pass this along as a request.
For reference, the uploadFile method just blocks until the upload is complete. Alternatively, especially for larger files, you may want to use the "chunked uploading" methods manually, in which case you'l be able to see when each chunk is done:
http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#chunkedUploadStart
http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#_chunkedUploadContinue
http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.Client.html#chunkedUploadFinish
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!