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

I have an IIS7 server, which people download exe files from.

When people are using Internet explorer the download dialog box says that the size is unknown.

What setting in IIS will allow the clients to know the size of the file?

share|improve this question
2  
Are the files being served up by an application (e.g. ASP.NET), or are they straight links to the actual exe files in question? –  Cocowalla Sep 3 '10 at 10:34

1 Answer 1

IIS 7 has chunked encoding enabled by default - and according to RFC 2616 you cannot use the Content-Length header (which is used to let the client know how big the content being sent is) with chunked encoding.

I think you need to disable chunked encoding under ASP settings in IIS.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.