IIS maxBandwidth don';t限制上传

IIS maxBandwidth don';t限制上传,iis,upload,web-config,limit,bandwidth,Iis,Upload,Web Config,Limit,Bandwidth,我想限制IIS中的上载和下载。我将maxBandwidth设置为2000。此限制适用于正确下载。但当上传文件时,这个限制不起作用 那么如何限制IIS中的上传带宽呢 注意 在我的web.config文件中,我设置: <system.web> <httpRuntime maxRequestLength="2147483647" executionTimeout="3600" /> </system.web> <system.webserver>

我想限制IIS中的上载和下载。我将
maxBandwidth
设置为2000。此限制适用于正确下载。但当上传文件时,这个限制不起作用

那么如何限制IIS中的上传带宽呢

注意

在我的web.config文件中,我设置:

<system.web>
    <httpRuntime maxRequestLength="2147483647" executionTimeout="3600" />
</system.web>
<system.webserver>
    <security>
        <requestFiltering>
            <requestLimits maxAllowedContentLength="4249967295" />
        </requestFiltering>
    </security>
</system.webserver>


当我删除此线路时,上传是有限的,但当添加此线路时,上传带宽是无限的。

这是设计的,
maxBandwidth
设置仅用于下载

IIS不支持任何带上载限制的带宽


maxRequestLength
maxAllowedContentLength
与带宽无关,它们适用于请求的最大总大小。

感谢您的回复。但当我设置“maxBandwidth”并删除该行时,IIS将上传带宽限制在我设置的范围内。