Click here to Skip to main content
13,299,727 members (55,910 online)
Click here to Skip to main content

Tagged as


3 bookmarked
Posted 29 Jul 2011

Restrict the size of file uploads in ASP.NET

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



Compare Revision Minor Date Status Editor
5 - publicly available Yes 29-Jul-11 4:52 Available Smitha Nishant
4 No 29-Jul-11 4:52 Available Smitha Nishant
3 No 28-Jul-11 12:50 Composing Monjurul Habib
2 No 28-Jul-11 12:49 Composing Monjurul Habib
1 No 28-Jul-11 12:41 Composing Monjurul Habib


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


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 | :)

You may also be interested in...

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