Click here to Skip to main content
11,642,216 members (59,871 online)
Click here to Skip to main content

Tagged as

Restrict the size of file uploads in ASP.NET

, 29 Jul 2011 CPOL 17.9K 3
Specific directories rather than entire application: For individual uploader:int maxSize = 2097151;if (FileUpload1.HasFile &&...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

29 Jul 2011
harikreddy
1 alternative  
How to restrcit the size of file uploads in ASP.NET

License

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

Share

About the Author

Monjurul Habib
Software Developer (Senior)
Bangladesh Bangladesh
A life-long-learner, maker and soft music fan. Likes building things to solve problems. Lives in Dhaka with wife and wonderful, smart kid and works as a Senior Software Engineer in applications architecture team.

Has years of successful records serving mid and large scale .NET applications in domestic and international client environment. Expertise in different areas of software development life cycles and Software Architecture.

Always looks for new information and value feedback (especially where got something wrong!).

| | Privacy | Terms of Use | Mobile
Web03 | 2.8.150731.1 | Last Updated 29 Jul 2011
Article Copyright 2011 by Monjurul Habib
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid