asp.net上传文件超过千兆的文件的大小? [英] asp.net uploading files over a Gig in file size?
问题描述
有一些开源的文件上传(应用程序)像这样的情况下的解决方案?我们谁可能要上传真正巨人文件的用户,可能是几个GB的在实际上文件的大小,它似乎像一个普通的文件上传文本框是不打算在这里是一个很好的选择,因为超时等...
Is there some open source file upload (application) solution for a scenario like this? We have users who might want to upload really giant files, could be several GB's in file size in fact, and it seems like a regular file upload textbox isn't going to be a good choice here due to timeouts, etc...
感谢您的任何意见...
Thanks for any advice...
推荐答案
乔恩·加洛韦在这里有一个很好的文章:的大文件上传ASP.NET
Jon Galloway has a good article here: Large file uploads in ASP.NET
他提到的 NeatUpload (这是免费的,LGPL,商业友好的开源许可证下发布)的文章,并链接到codePLEX页:的 HTTP://neatupload.$c$cplex.com/
He mentions NeatUpload (which is free, and posted under the LGPL, a business-friendly open source license) in the article, and the link to the codeplex page: http://neatupload.codeplex.com/
项目说明
该NeatUpload™ASP.NET组件允许开发人员能够流
上传的文件存储(文件系统或数据库),并允许用户
监控上传进度。它是在Mono的开源和作品
XSP /是mod_mono以及微软的ASP.NET实现。
The NeatUpload ™ ASP.NET component allows developers to stream uploaded files to storage (filesystem or database) and allows users to monitor upload progress. It is open source and works under Mono's XSP/mod_mono as well as Microsoft's ASP.NET implementation.
设有多个自定义控制,包括:
It features several custom controls, including:
- 多文件允许所有用户选择多个文件进行上传和
允许Flash 8+用户从一个单一的文件中选择多个文件
选择对话框。 - 进度显示上传进度内联或弹出。
- UnloadConfirmer prevents用户意外地离开页面中断上传。
功能
- 作品在网络的花园和网络农场。
- 在中等信任环境安装在GAC时的作品。
- 作品下单的XSP /是mod_mono和微软的ASP.NET 1.1或更高版本。
- 易于安装和使用。在UploadHttpModule添加到Web.config的部分
并拖动和拖放使用Visual Studios的Web窗体控件
设计师。 - 进度控制可以显示处理的进展
除了上传进度。 - 进度控制采用AJAX风格
在现代浏览器refreshless更新时的JavaScript是可用的,
也可以让用户无需JavaScript查看上传进度。 - 通过样式允许自定义,自定义进度显示页面,
UploadStorageProviders和UploadStateStoreProviders,并提供了一个
创建自己的文件上传和进步的控制API。 - 回退到使用ASP.NET的HttpPostedFile如果NeatUpload UploadHttpModule不是present。这使得它容易清除
的HttpModule如果由于某种原因,它引起的问题。 - 流直接上传到存储。这节省了服务器内存,允许更大上传,并帮助服务攻击prevent拒绝。
- 删除上传的文件。这有助于prevent磁盘空间泄漏。
- 的宽通用公共许可证(LGPL)许可,业务友好的开源许可证。
当发生错误
这篇关于asp.net上传文件超过千兆的文件的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!