Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How do I configure IIS to report File Size for browser downloads. As it stands now, all downloads off our site report a null file size, and therefor do not show file size progress.

We're using version 6.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

You want to log sc-bytes (sc=server to client) in W3C Extended Log Format. This is the total bytes in the HTTP response header and response data (ie- file). cs-bytes (client to server) is the amount of data sent in the request from the client and not indicative of browser downloads. This will be the total bytes of the http header plus any post data that is sent with the request.

If you're using Microsoft IIS Log Format you want to look at the Server Bytes sent field. In NCSA common log file format you want to look at Bytes Sent.

share|improve this answer

I'm assuming you mean in the IIS logs. If you're using W3C Extended Log File Format for your logs you can select several parameters on the Advanced tab of the logging properties. The two you probably want to enable are bytes sent (server to client) and bytes received (client to server).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.