Click here to Skip to main content
11,638,173 members (76,102 online)
Click here to Skip to main content

Tagged as

How to increase the upload file length limit in ASP.NET

, 20 Feb 2011 CPOL 22.8K 7
Rate this:
Please Sign up or sign in to vote.
How to increase the upload file length limit in ASP.NET
Generally, the uploading limit of ASP.NET FileUploader is 4MB. But you can increase the limit of length of uploaded file by using the following code into your web.config file in your website.
<httpruntime maxrequestlength="20480" executiontimeout="600">
You have to add this tag after the system.web of your web.config file...
If you want to increase the upload limit more than 20MB, then you have to change both the value of maxRequestLength in KB and also executionTimeout.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Bangladesh Bangladesh
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralReason for my vote of 3 I thing that very helper, to us Deve... Pin
ARIJOHNY22-Feb-11 1:39
memberARIJOHNY22-Feb-11 1:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150728.1 | Last Updated 20 Feb 2011
Article Copyright 2011 by Md.Alauddin
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid