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
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.