Posted on January 30, 2008

Large File Uploads in ASP.NET

This will be a quick link to help other folks with a problem I had with a recent project.

If you need to upload a file that is larger than the 4 mb limit default in ASP.NET, there is a great entry at Jon Galloway’s Blog. Go see his site for a great explanation, but here is the solution in a nutshell.

Increase the maxRequestLength for the specific folder within your web site by configuring the following setting in your sites Web.Config.

<location path="MyUploadFolder"> <system> <httpruntime executiontimeout="110" maxrequestlength="20000"> </httpruntime> </system>
Blog post currently doesn't have any comments.
Leave comment

 Security code