Bashar Kokash' Blog

.Net Framework, windows and web development.

This site

Resources

Friends

Sponsors

  • MaximumASP
  • Packet Sniffer
    Home Loan
  • audio conference

Increase file size to be uploaded

By Default, we can't upload files with size more the 4Mb, because it's already configured in the machine.web file. as follows:

<httpRuntime maxRequestLength ="4096"/>  where 4096 in kb

Although you can overload these settings in the web.config file

add in the <system.web>

<httpRuntime maxRequestLength ="5120"/> 

Which allows uploading files up to for example 5120 = 5Mb.

Posted: Sep 12 2007, 12:33 AM by BasharKokash | with no comments
Filed under: ,

Comments

No Comments

The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.