开发者

jQuery Form file upload Files with size greater thatn 4MB filed

开发者 https://www.devze.com 2023-03-18 23:57 出处:网络
I am using jQuery Form upload. I am unable to upload file with the size more than 4MB I debug my request in Fiddler and it is saying

I am using jQuery Form upload. I am unable to upload file with the size more than 4MB I debug my request in Fiddler and it is saying ReadResponse() failed: The server did not return a response for this request.

If i am uploading small file all working well and I do not get any error.

You can see my code here: jQuery Form file开发者_JS百科 upload check file on server and generate errors to pass to the client

Any ideas how to fix that? Any thoughts why it is happens?

Also I think i would add some code on client which would check the file size before submit on server.


You may need to increase the maxRequestLength setting in web.config.

More useful info here:

http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx


I think that you have problems with the max size you can upload with POST. Web server limit the size of the files you can upload. I don't know anything of ASP.NET but i found this article that might help you (the articol says that max post size is 4 Mb)

0

精彩评论

暂无评论...
验证码 换一张
取 消