Untitled UI logotext
Solutions
WebsitesEcommerceMobile AppsWeb AppsProduction Support & Maintenance
Our work
Company
About usBlogPodcastContact us
Book a free consultation

HttpPostedFile Maximum File Upload Size

Olivia Rhye

I just ran into a file upload issue where file uploads were reaching the default maximum file upload size of 4MB.  It was pretty straight forward to increase the HttpPostedFile maximum upload size, and I set it to 10MB for this site using the following in the web.config file:‍

<configuration>
 <system.web>
  <httpRuntime maxRequestLength="10240" executionTimeout="90" />
 </system.web>
</configuration>

‍

I'm not a huge fan of ASP.NET.  The tools are really handy and in general customizable enough for what I need, but the fact that they seem to be massively overhauled (yet miraculously still not on the cutting edge) with every release yields an efficiency problem.  I simply cannot learn a massive new library every couple years, it just doesn't make sense.

Plus, I love to know HOW things work, instead of just THAT things work.

Ready to start a project?

Book a free consultation
Untitled UI logotext
Our work
About us
Blog
Careers
Submit a ticket
Agency Partnerships
Contact
© 2024 fjorge. All rights reserved.
Privacy