How to upload up 10gb file on ASP.NET

前端 未结 2 1142
Happy的楠姐
Happy的楠姐 2020-12-19 21:53

I have done a application on asp.net and I\'m saving a video and audio file is sql server i have a issue with uploading big file over on sever. appls is hosted on ISS7 here

相关标签:
2条回答
  • 2020-12-19 22:25
    <httpRuntime executionTimeout="3600" maxRequestLength="102400"/>
    

    is about 10Mb (maxRequestLength is in Kb - see http://msdn.microsoft.com/en-us/library/e1f13641(v=vs.100).aspx)

    You try set it to 10485760...

    0 讨论(0)
  • 2020-12-19 22:26

    With out-of-the-box ASP.NET, you are not going to be able to upload a file that big, because IIS will either timeout or you will exceed the size limitations (read: maxRequestLength setting for IIS).

    You have a few options:

    1. Custom HTTP module

      NeatUpload is a free option.

    2. Silverlight/Flash option

      SWFUpload is a free option.

    3. Asynchronous chunking option

      RadAsyncUpload - Telerik's ASP.NET AsyncUpload is a pay option, check website for pricing.

    0 讨论(0)
提交回复
热议问题