Click here to Skip to main content
12,457,938 members (54,018 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

23.5K views
3 bookmarked
Posted

Restrict the size of file uploads in ASP.NET

, 29 Jul 2011 CPOL
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)
Singapore Singapore
A life-long-learner, maker and soft music fan. Likes building things to solve problems. 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 technology and loves to get hands dirty Smile | :)

Pro
Pro
| | Privacy | Terms of Use | Mobile
Web01 | 2.8.160826.1 | Last Updated 29 Jul 2011
Article Copyright 2011 by Monjurul Habib
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid