Click here to Skip to main content
12,631,574 members (33,557 online)
Click here to Skip to main content

Tagged as

Stats

24.2K 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 &&...

Revisions


  

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

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

You may also be interested in...

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