We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

danwexler's avatar
danwexler
New member | Level 2
5 years ago

Download progress using HTTP or JavaScript?

Looks like the Java SDK has a progress listerner for downloads. Is there a way to get download progress updates in the JavaScript SDK or via the HTTP API? Perhaps there is a way to get a stream or a URL template so we could use XMLHttpRequest directly?

  • Aha! Problem resolved using get_temporary_link and my own download code using XMLHttpRequest.

  • danwexler's avatar
    danwexler
    New member | Level 2

    Aha! Problem resolved using get_temporary_link and my own download code using XMLHttpRequest.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Thanks for following up. I'm glad to hear you already found a solution.

     

    For reference, the official Dropbox API v2 JavaScript SDK doesn't offer native progress listeners for the standard download methods, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 12 months ago
326 Following

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!