你好关于文件上传 [英] hello about the file upload
本文介绍了你好关于文件上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我一直有文件上传的问题,每当我将一个大文件发布到我的FileUpload时,当我请求内容长度时它会卡住任何想到我将如何处理这个并感谢
解决方案
您可以配置相应地增加文件大小以及超时属性。
参考
http://blogs.msdn.com/b/prashant_upadhyay/archive/2011/07/13/large-file-upload-issue-in-asp-net.aspx [ ^ ]
我也遇到了同样的错误...
以下代码解决了问题
在你的web.config中添加这个
< httpruntime maxre questlength = 2097151 executiontimeout = 900000 usefullyqualifiedredirecturl = false minfreethreads = 8 minlocalrequestfreethreads = < span class =code-string> 4 apprequestqueuelimit = 100 /> ;
hello everybody , i have been having a problem with the file upload , whenever i post a large file into my FileUpload it stucks when i request the content length any thought how i would deal with this and thanks
解决方案
You can configure to increase the file size as well as the timeout attributes accordingly.
Refer
http://blogs.msdn.com/b/prashant_upadhyay/archive/2011/07/13/large-file-upload-issue-in-asp-net.aspx[^]
I was also facing the same error...
The below code solved the problem
Add this in your web.config
<httpruntime maxrequestlength="2097151" executiontimeout="900000" usefullyqualifiedredirecturl="false" minfreethreads="8" minlocalrequestfreethreads="4" apprequestqueuelimit="100" />
这篇关于你好关于文件上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文