如何使用asp.net上传15GB数据 [英] How to upload 15gb data using asp.net
本文介绍了如何使用asp.net上传15GB数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用Asp.Net上载高达15 GB的数据,它完美适用于2 GB.我正在使用VS 2005 framework 2.0,我认为它的maxRequestLength
是2gb,可以增加它的长度.
请给我我要发送高达15 GB数据的任何解决方案.
我增加了web.config文件中的最大长度
最高可支持2 GB
I want to upload data upto 15 GB using Asp.Net , it works perfectly for 2 GB. I''m using VS 2005 framework 2.0 I think its maxRequestLength
is 2gb can we increase its length.
Please give me any solution I want to send data upto 15 gb.
I increased the max length in web.config file
like for upto 2 GB
<httpruntime>
executionTimeout="110"
maxRequestLength="2097151"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100"
enableVersionHeader="true"/></httpruntime>
它可以完美地在高达2 GB的内存上正常工作..不能用于超过2 GB的内存.
我想上传最多15 GB的数据.
It works perfectly upto 2 GB up ....not working for more than 2 gb .
I want to upload data upto 15 GB.
推荐答案
使用.NET来处理大于2GB的内容确实存在问题-.NET中任何一个对象的最大大小是2GB,因此很有可能需要将上传文件分成较小的部分.
There are real problems with using .NET for anything bigger than 2GB - the maximum size of any one object in .NET is 2GB, so it is very likely that you need to break up your upload into smaller pieces.
一次上传2GB数据,或更改使用FTP而不是ASP.Net. .
Upload your data 2GB at a time, or change use FTP instead of ASP.Net...
或者,您可以看看以下内容:
在WCF中流式传输还是缓冲式 [
Alternatively you could have a look at this:
Streamed vs Buffered in WCF[^]
Hope it helps.
I don''t know if WCF still limits object sizes if Streamed is choosen though.
这篇关于如何使用asp.net上传15GB数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文