I am using File upload control in ASP.Net, followed the below blogs approach.
http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx
The 4MB default is set in machine.config, but you can override it in you web.config. For instance, to expand the upload limit to 20MB, you'd do this:
<system.web>
<httpRuntime executionTimeout="240" maxRequestLength="20480" />
</system.web>
Question:
Till what level(MAX size) i can increase the requested length and what will be performance impact on site if we allowed user to upload 50-60 MB files also.
Best Answer
The 'theoretical' max level for the
maxRequestLength
field is the max value for signed 32-bit integer data type (Int32.MaxValue
).However, you are going to have to test the upload in order to understand your performance.
EDIT:
From a Microsoft support ticket: