打开webconfig文件在<system.web> </system.web><br>之间加入如下的代码<br><httpRuntime<br> maxRequestLength="2097151"<br> executionTimeout="6000"<br><font size="-1"><font color="#cc0033">useFullyQualifiedRedirectUrl</font>="false"</font><br> /> <br>其中maxRequestLength表示上传文件的大小,最大值(2097151)<br>executionTimeout表示上传文件所用的最长时间。<br><font size="-1"><font color="#cc0033">useFullyQualifiedRedirectUrl<span style="color: rgb(0, 0, 0);">这个东西我也不清楚是干什么用的!谁要知道请给我留言回复一下。谢谢</span></font></font>
ASP.NET上传大文件
最新推荐文章于 2024-04-10 14:53:02 发布