asp.net 大文件上传配置
<system.web> <httpRuntime requestValidationMode="2.0" maxRequestLength="3072" ></httpRuntime> <!--单位:KB 3072=3MB 默认是4MB,最大支持2GB--> </system.web> <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="2147483648" /> <!--单位:字节B 2147483648=2 GB 默认是4MB,最大支持2GB--> </requestFiltering> </security> </system.webServer>