the progress bar is not able to track the progress of a download.
the download is performed by the browser in a separate process then then the web page, and the form submit.
the form submit triggers the browser to start the download, but that is all that the web page can see. the browser takes over the download process. This is why with large downloads, you are able to continue browsing to other site while the download finishes.