如何将大文件从html5上传到ASP.NET [英] How to upload large file from html5 to ASP.NET
问题描述
嗨
我正在尝试将大文件从html,javascript上传到asp.net页面。
文件大小无限制。
但我可以上传有限大小的文件。
我还更改了网络配置文件设置以支持大文件上传。
maxRequestlength
但问题是我们设置了多少它只接受那个大小限制文件。
我试图上传文件从html到asp.net asp.net到数据库,其中文件大小没有限制用户可以上传任何没有大小限制的文件。
Hi
I am trying to upload large file from html, javascript to asp.net pages.
where file size is unlimited.
but I can upload limited size of file.
I have also changed web config file setting to support large file upload.
maxRequestlength
but the problem is how much we set it will accept only that size limit file.
I am trying to upload file from html to asp.net asp.net to database where file size has no limit user can upload any file with no size limit.
推荐答案
你可以接受文件上传大块
关于可能适合的例子:
http://dotnetslackers.com/Community/blogs/haissam/存档/ 2008/09/12 /上载大文件,在-ASP网-using-httpmodule.aspx [ ^ ]
Javascript code可以这样看:
http ://creativejs.com/tutorials/advanced-uploading-techniques-part-1/ [ ^ ]
You can accept file upload in chunks
On of examples that could suit:
http://dotnetslackers.com/Community/blogs/haissam/archive/2008/09/12/upload-large-files-in-asp-net-using-httpmodule.aspx[^]
Javascript code could look in this way:
http://creativejs.com/tutorials/advanced-uploading-techniques-part-1/[^]
这篇关于如何将大文件从html5上传到ASP.NET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!