CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Grant Killian's Blog

No, this has nothing to do with beer -- but maybe it should?

httpRuntime and File Upload Limits

Still reeling from a flood of New Year work.  Let me offer something brief.  Rob Spitzer did a nice Win2K3 and IIS 6 presentation for WeProgram.Net last night.  We were discussing some Win2K to Win2K3 migration issues, and besides this Response Buffer issue I discussed here, I mentioned some default settings regarding file upload size.  Donny Mack wrote about using the httpRuntime element in web.config here, but in a nutshell let me share that web.config supports an <httpRuntime> element under the system.web section -- specifically something like this

<httpRuntime maxRequestLength="10000" />

will establish a max file upload size of 10,000 Kilobytes.  You can set this more broadly in your machine.config, too.

Oh, yeah, Admin and Developer alike might find SAM's Windows Server 2003 Delta guide useful.  Amazon it here.  If my word isn't good enough, both Rob Spitzer (local Admin extraordinaire) and Darrell Norton (local Developer extraordinaire) highly recommend it too!

Happy .Netting



Comments

Paul Laudeman said:

Grant, to follow up on Scott's comment, you might want to take a look at Soft Artisans FileUp component to help manage both uploads and downloads from your web site.

http://www.softartisans.com
# January 14, 2004 3:57 AM

Scott Galloway said:

I've also had good results from ABCUpload.NET - http://www.websupergoo.com/abcupload.net-1.htm
They are also offering a free license if you link back to their site (normally costs $249).
# January 14, 2004 4:48 AM

Grant said:

Thanks fellas, they advertise 4 GB upload which is WAY more than conventional asp.net file upload will handle. We might be buying a few licenses soon . . .
# January 14, 2004 4:54 AM

Grant Killian said:

WebSuperGoo can't be blamed for my walking into the women's restroom . . .
# March 22, 2004 7:06 AM

Gus O. said:

What is the maximum size a buffer can have?

# March 26, 2008 4:38 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add
Check out Devlicio.us!