HTTP上传大文件的节点配置

<system.web>
    <compilation debug="true" targetFramework="4.0" />
    <httpRuntime maxRequestLength="100000000" executionTimeout="600"></httpRuntime>
</system.web>
<system.webServer>
    <security>
      <requestFiltering>
        <!--这个节点直接决定了客户端文件上传最大值-->
        <requestLimits maxAllowedContentLength="2147483647" />
      </requestFiltering>
    </security>
  </system.webServer>

 

posted on 2016-04-22 18:13  邬兴亮  阅读(297)  评论(0编辑  收藏  举报

导航