The 4MB default is set in machine.config, but you can override it in you
web.config.
For instance, to expand the upload limit to 20MB, you'd do this:
For instance, to expand the upload limit to 20MB, you'd do this:
Since the maximum request size limit is there to protect your site, it's best to expand the file-size limit for specific directories rather than your entire application. That's possible since the web.config allows for cascading overrides.
You can add a web.config file to your folder which just contains the above, or you can use the
No comments: