设置上传文件大小

ASP.NET中maxRequestLength和maxAllowedContentLength的区别;上传大文件设置IIS7文件上传的最大大小

 <system.web>
  <httpRuntime maxRequestLength="2147483647" executionTimeout="3600" ></httpRuntime>
 </system.web>

<system.webServer>
 <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="2147483647" />
      </requestFiltering>
    </security>
</system.webServer>
posted @ 2021-08-31 17:33  vvull  阅读(42)  评论(0编辑  收藏  举报