如何在iis7.5和mvc3中上传最大4G字节的文件注:我已经maxAllowedContentLength
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4294967295" />
</requestFiltering>
</security>
</system.webServer>
<httpRuntime maxRequestLength="4194304" />但是我还是不能上传3.71G的文件
我是不是忘了做什么?
发布于 2012-09-18 22:30:56
ASP.NET (即使是.NET 4版本)也有2 GB的限制!
此外,当上传这么大的文件时,你最好考虑使用一些(第三方)工具,让你的上传更稳定。这也会让你的用户更快乐。
我读到过.NET 4.5应该支持更大的文件。不过,我还是会为我的用户提供一个这样的插件:http://neatupload.codeplex.com
https://stackoverflow.com/questions/12479070
复制相似问题