Last post Sep 03, 2012 06:27 AM by amolpandit22
Member
151 Points
82 Posts
Sep 03, 2012 06:05 AM|mani2009it|LINK
Hi everyone,
Is it possible to upload a file size of 4 GB into the server using Asp.Net ??? If yes, What are all the drawbacks i will face???
Thanks & Regards,
Manikandan M
Participant
1354 Points
459 Posts
Sep 03, 2012 06:27 AM|amolpandit22|LINK
The maximum size to upload file in ASP.Net is 2 GB (2097151Kb).
If you want to upload lager file than 2GB you need to expand maximum request size limit. you can use the <location> tag in your main web.config like
<location path="Upload"> <system.web> <httpRuntime executionTimeout="110" maxRequestLength="2097151" /> </system.web> </location>
Please check below link for your refrence.
http://www.codeproject.com/Articles/10842/Setting-up-Web-config-to-allow-uploading-of-large
Member
151 Points
82 Posts
Is it possible to Upload files of 4 GB?
Sep 03, 2012 06:05 AM|mani2009it|LINK
Hi everyone,
Is it possible to upload a file size of 4 GB into the server using Asp.Net ??? If yes, What are all the drawbacks i will face???
Thanks & Regards,
Manikandan M
Participant
1354 Points
459 Posts
Re: Is it possible to Upload files of 4 GB?
Sep 03, 2012 06:27 AM|amolpandit22|LINK
The maximum size to upload file in ASP.Net is 2 GB (2097151Kb).
If you want to upload lager file than 2GB you need to expand maximum request size limit.
you can use the <location> tag in your main web.config like
<location path="Upload">
<system.web>
<httpRuntime executionTimeout="110" maxRequestLength="2097151" />
</system.web>
</location>
Please check below link for your refrence.
http://www.codeproject.com/Articles/10842/Setting-up-Web-config-to-allow-uploading-of-large