Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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