How to upload really big files on server in ASP.NET ?

Posted by Sheonarayan under ASP.NET category on | Points: 40 | Views : 1237
Apart from setting httpRuntime maxMessageLength property in web.config file below

<httpRuntime maxMessageLength="409600"

We also need to set below settings in system.webServer so that it can upload up to 100 MB file
<!-- in byte - 100 MB size below -->
<requestLimits maxAllowedContentLength="104857600" />

To allow more than 100 MB, change the maxAllowedContentLength value.

Hope this helps.


Comments or Responses

Login to post response