如何设置web.config以允许ASP .NET应用程序上传大文件(至少10GB)? [英] How setting up web.config to allow uploading of large files(atleast 10GB) by ASP .NET applications ?
问题描述
< system.webserver>
< security>
< requestfiltering>< requestlimits maxallowedcontentlength =262144000> <! - maxAllowedContentLength以字节为单位。默认为30,000,000 - >
我尝试过:
< system.webserver>
< security>
< requestfiltering>< requestlimits maxallowedcontentlength = 262144000 > <! - maxAllowedContentLength以字节为单位。默认为30,000,000 - >
< configuration >
< system.web >
< httpruntime maxrequestlength = xxx / >
< / system.web >
< / c onfiguration >
值应为KB
<system.webserver>
<security>
<requestfiltering><requestlimits maxallowedcontentlength="262144000"> <!-- maxAllowedContentLength is in bytes. Defaults to 30,000,000 -->
What I have tried:
<system.webserver>
<security>
<requestfiltering><requestlimits maxallowedcontentlength="262144000"> <!-- maxAllowedContentLength is in bytes. Defaults to 30,000,000 -->
Hi,
<configuration> <system.web> <httpruntime maxrequestlength="xxx" /> </system.web> </configuration>
the value should be in KB.
这篇关于如何设置web.config以允许ASP .NET应用程序上传大文件(至少10GB)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!