By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,885 Members | 1,499 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,885 IT Pros & Developers. It's quick & easy.

How many bytes to download / estimated time left

P: n/a
I build some web aplication that needs to return some binary data using Response.BinaryWrite(byte[] data)
All is fine, but one thing: the browser does not display "estimated time left" and the size of the binary to be returned. All is right, but the user does not know how big the file will be, nor he nows how long he is going to wait. (All he knows is how many bytes he has downloaded already)

What should I do to allow the browser display this infrmation to the user ?

Thanks
Michal Januszczyk
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
you tell the browser the content length in the response header
Content-Length.

-- bruce (sqlwork.com)
"Michal Januszczyk" <an*******@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
I build some web aplication that needs to return some binary data using Response.BinaryWrite(byte[] data) All is fine, but one thing: the browser does not display "estimated time left" and the size of the binary to be returned. All is right, but the user
does not know how big the file will be, nor he nows how long he is going to
wait. (All he knows is how many bytes he has downloaded already)
What should I do to allow the browser display this infrmation to the user ?
Thanks
Michal Januszczyk

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.