IIS上传文件大小限制和上传时间限制

2023-02-15,,,

1、打开某一发布网站的配置编辑器

2、设置上传时间限制

3、设置上传文件大小限制

另一种方法:

直接在网站根目录建一个web.config文件

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="102400000" />
</requestFiltering>
</security>
</system.webServer>
<system.web>
<httpRuntime executionTimeout="1800" />
</system.web>
</configuration>

IIS上传文件大小限制和上传时间限制的相关教程结束。

《IIS上传文件大小限制和上传时间限制.doc》

下载本文的Word格式文档,以方便收藏与打印。