16
Views
1
Comments
progress bar when downlaoding
Question
Application Type
Reactive

i am downlaoding excel files i need to show the progress bat which is 0 to 100 and it should be like real time when the download is stopped by showing 100% w ith vertical bar.

i have created a similar but it moving fast and closing even before the download ends some times it is getting stuck for long file downloads. please help me with that


2016-04-22 00-29-45
Nuno Reis
 
MVP

Hello.

Your progress is in number of files downloaded or in MB downloaded?

Because number of files is easier to do but will count when it is started, not when it ends.

Megabytes downloaded is worse as Javascript shouldn't access the browser's information. But you can try with onProcess event: https://stackoverflow.com/questions/76976/how-to-get-progress-from-xmlhttprequest

Please tell us if it works.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.