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.

I wanted to download some backups (about 4..5Gb in size) via HTTP and was surprised that IIS7 didn't allowed me to do so. The attempt was seemingly blocked - got a 404 page.

Where should I go in the IIS Management console to allow such downloads?

share|improve this question

1 Answer 1

Configure the maxRequestEntityAllowed property in the asp limits sections of the web configuration:

http://www.iis.net/configreference/system.webserver/asp/limits

If you have the Request Filtering feature installed and enabled, you should also set the "Maximum allows content length" value in IIS Manager -> Features -> Request Filtering -> Edit Feature settings

share|improve this answer
1  
"Maximum allows content length" is 4294967295 bytes (exactly 4 Gb) on that system. Same for maxRequestEntityAllowed. (Request? not Response? how it should work?) –  kagali-san Dec 16 '12 at 13:55
1  
If you set the limits to the maximum values, IIS will interpret them as "unlimited", at least that's how it worked in the IIS6 metabase. Please be aware that IE, prior to version 8 has Content-Length limits of 4GB (IE7) and 2GB (IE6) –  Mathias R. Jessen Dec 16 '12 at 14:40
    
@MathiasRJessen can you find me a direct proof of the "unlimited" claim? After short googling, I found some results on this value becoming "unlimited" in other settings, but found no clear results for the following query: ` "Maximum allows content length"|maxallowedcontentlength 4294967295 unlimited ` –  kagali-san Dec 16 '12 at 21:32
1  

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.