开发者

Upload large files on webpage?

We use the MojoPortal to a website and have some problems to upload files that is around 100 MB with the upload module. (Pleas note that this has probably nothing to do with MojoPortal but with the ASP.NET and the IIS)

The MojoPortal is set to use regular file Upload(not Neat Uploader) and to be able to upload big files we have set the following :

<httpRuntime maxRequestLength="2097151" executionTimeout="18000" requestValidationMo开发者_JS百科de="2.0"/>

And :

<compilation debug="false" defaultLanguage="C#" targetFramework="4.0">

The problem is that the upload will cacel after a couple of minuts (Aborted).

Is there any other values that I need to set to make this possible? The MojoPortal itself should not have any settings for this as far as I know so its regular ASP.NET 4.0.

BestRegards


I assume you're running this under IIS 7 or higher. In this case you might want to update this property as well, in your web.config:

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜