Download progress callback not being called
See original GitHub issueI’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:
- Created 7 years ago
- Comments:7 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s possible to get the progress callback in nodejs?
Nope, I ended using other library to manage large downloads 😢