Have you tried to do this:
Response.AddHeader("Content-Length", someBytes.Length.ToString());
If the length of the content is set, the web browser will display a progress bar during download. This is a very important usability feature for medium and large files, and you really want it. You want your user to know how far they are, so they will not cancel the download and do not start it, or, even worse, just leave your site. Contact
source share