To upload large files in asp.net you have to increase the MaxrequestLength and Executiontimeout of the httpruntime settings of your web.config file.By Default it will upload 4MB.
suppose if i want to upload upto 8 MB you have to include this tag in you web.config file , don't change anything in your machine.config files.
httpruntime maxRequestLength="1048576" executionTimeout="450"
here 1048576 - 1 GB
No comments:
Post a Comment