如何上传了ASP.NET的10GB文件 [英] How to upload up 10gb file on ASP.NET

查看:185
本文介绍了如何上传了ASP.NET的10GB文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经做在asp.net应用程序一,我保存的视频和音频文件的SQL Server
我有过上断绝上传大文件的问题。 APPLS上ISS7托管在这里,我使用的web.config文件中的code这是一个如下:

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 i used a code in web.config file that is a below:

<httpRuntime executionTimeout="3600" maxRequestLength="102400"/>

  <system.webServer>
    <security>
      <requestFiltering>        
        <requestLimits maxAllowedContentLength="1024000000"/>
      </requestFiltering>
    </security>
  </system.webServer>

但即时得到关于上载的时间误差,以下是图像:

but im getting error on uploading time that is below in image:

请帮我如何上传文件与ISS7 10GB的
10GB的文件保存IM ING作为 VARBINARY(MAX)和10GB被转换在字节

please help me out how can i upload files up to 10GB with ISS7 10GB file im save ing as a varbinary(MAX) and 10GB was converting in Byte

推荐答案

通过外装即用ASP.NET,你不会要能够上传的文件很大,因为IIS要么超时或您将超出大小限制(阅读:的maxRequestLength 设置IIS)

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).

您有几种选择:


  1. 自定义HTTP模块

  1. Custom HTTP module

NeatUpload 是一个自由的选择。

的Silverlight /闪存选项

Silverlight/Flash option

SWFUpload的是一个自由的选择。

异步分块选项

RadAsyncUpload - Telerik的ASP.NET AsyncUpload 是付费选项,检查网站的定价。

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

这篇关于如何上传了ASP.NET的10GB文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆