Archive for the ‘File’ Category

Upload Large Files in ASP.NET

December 3, 2007 Leave a comment

Here’s the simple solution to uploading large files in ASP .net.

Add a new key in the web.config. The fileSize (maxRequestLength) is in kilobytes with a default size of 4.

The key to add is

<httpRuntime maxRequestLength=”2000000″/>

Categories: .NET, ASP, File