Web.config - define max. upload size


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <system.web>
  2. <httpRuntime maxRequestLength="10000" />
  3. </system.web>
  4.  
  5. // size is in kilobytes
  6. // default upload size iz 4 megabytes
  7. // max upload size is 100 megabytes

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.