question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Download progress callback not being called

See original GitHub issue

I’m attempting to create UI for download progress however I’m not seeing the onDownloadProgress being called.

My code:

  var config = {
    responseType: 'arraybuffer',
    onDownloadProgress: function (e) {
      console.log("This just in... ", e);
    }
  };
  return axios.get('http://example.com/url-to-download', config);

Is this an error in Axios or something I’m doing incorrectly? Please advise.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
DanielRamosAcostacommented, Nov 5, 2016

It’s possible to get the progress callback in nodejs?

1reaction
DanielRamosAcostacommented, Feb 24, 2017

Nope, I ended using other library to manage large downloads 😢

Read more comments on GitHub >

github_iconTop Results From Across the Web

c++ libcurl progress callback with download not working
I managed to get the progress bar working when uploading files, but unfortunately the callback function only receives 0 values on the download....
Read more >
CURLOPT_PROGRESSFUNCTI...
clientp is the pointer set with CURLOPT_PROGRESSDATA(3), it is not used by libcurl but is only passed along from the application to the...
Read more >
Progress Display — Rich 12.6.0 documentation
When you add a task it is automatically started, which means it will show a progress bar at 0% and the time remaining...
Read more >
How to Monitor Upload and Download Progress for Amplify ...
Amplify Storage has a callback that keeps you updated on the upload and download progress of your file. Here's how to set it...
Read more >
All browsers download progress not showing and File Explorer
I cleared the browser and then it started working but after some time the download bar doesn't show. I downloaded some other browsers...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found