468,457 Members | 1,782 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,457 developers. It's quick & easy.

Control to upload LARGE files

Are there any ASP.NET compatible controls out there that will allow you to
upload large files, up to 2 gb?

Prefer free of course. ;)
Nov 12 '08 #1
7 2923
Out-of-box FileUpload control has no size limit. Limit can be set in
web.config in the httpRuntime element, parameter maxRequestLength. Note,
that allowing 2G can degrade performance and scalability.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Bobby Edward" <bo***@nobody.comwrote in message
news:eQ**************@TK2MSFTNGP03.phx.gbl...
Are there any ASP.NET compatible controls out there that will allow you to
upload large files, up to 2 gb?

Prefer free of course. ;)
Nov 12 '08 #2
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:uW*************@TK2MSFTNGP05.phx.gbl...
Out-of-box FileUpload control has no size limit. Limit can be set in
web.config in the httpRuntime element, parameter maxRequestLength. Note,
that allowing 2G can degrade performance and scalability.
Thanks. Will it allow multiple file selection? If I allow 1GB files will
the browser or server timeout?
Nov 12 '08 #3
There is no multiple file selection out of box. It is not an AP.NET issue,
it is a browser issues. Browsers don't do that. There are various
work-around solutions that you will easily find if you google for
"fileupload multiple file selection".

There are several reasons that may cause timeouts. There are various timeout
settings, there are memory allocation issues. This reference is quite old
but at least it can give you an idea about the issues:
http://weblogs.asp.net/mhawley/archi...11/129824.aspx

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
"Bobby Edward" <bo***@nobody.comwrote in message
news:Oy**************@TK2MSFTNGP04.phx.gbl...
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:uW*************@TK2MSFTNGP05.phx.gbl...
>Out-of-box FileUpload control has no size limit. Limit can be set in
web.config in the httpRuntime element, parameter maxRequestLength. Note,
that allowing 2G can degrade performance and scalability.

Thanks. Will it allow multiple file selection? If I allow 1GB files will
the browser or server timeout?
Nov 13 '08 #4
re:
!If I allow 1GB files will the browser or server timeout?

That depends on how fast your client's, and your, connections are.

You'll need to set executionTimeout, in web.config's httpRuntime entry,
to the highest number of seconds that you estimate the transfer of the file will take.

In practice, setting up for 1GB transfers is not very efficient, as your server
will have a real performance drag until the file transfer is completed.

....and that's just for 1 transfer at a time.

If 2, 3 of 10 people request 1GB transfers, your goose is probably cooked.

How fast is your server's internet connection ?

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Bobby Edward" <bo***@nobody.comwrote in message news:Oy**************@TK2MSFTNGP04.phx.gbl...
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in message
news:uW*************@TK2MSFTNGP05.phx.gbl...
>Out-of-box FileUpload control has no size limit. Limit can be set in web.config in the httpRuntime element, parameter
maxRequestLength. Note, that allowing 2G can degrade performance and scalability.

Thanks. Will it allow multiple file selection? If I allow 1GB files will the browser or server timeout?

Nov 13 '08 #5
On Nov 12, 5:40*pm, "Bobby Edward" <bo...@nobody.comwrote:
Are there any ASP.NET compatible controls out there that will allow you to
upload large files, up to 2 gb?

Prefer free of course. ;)
Any way to set your client up with FTP access? Then you can take
advantage of features such as Resume.
Nov 13 '08 #6
Sometimes it is better to buy than build:
http://www.websupergoo.com/products.htm

Not sure it has all of the features you need, but I would look at the upload
component. You might be able to build something like this yourself, but I
imagine it would require an extensive amount of time.

If I were coding this, I would opt for some type of client control (windows
forms with Click Once or WPF, etc.). Silverlight might be a decent option,
as it is a one time download. I would then wrap in a good dowload (upload)
manager piece.

The method, via a website, is to use a multi-part form, which essentially
hangs on large files (it may end up working, but from user perspective it is
hung). You can get around this with AJAX (and some other methods), but you
are still filling up the HTTP pipe with a huge file.

--
Gregory A. Beamer
MVP: MCP: +I, SE, SD, DBA

Blog:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think Outside the Box! |
********************************************
"Bobby Edward" <bo***@nobody.comwrote in message
news:eQ**************@TK2MSFTNGP03.phx.gbl...
Are there any ASP.NET compatible controls out there that will allow you to
upload large files, up to 2 gb?

Prefer free of course. ;)
Nov 13 '08 #7
Thanks everyone for the good info!

My client says his server will be able to handle it, so let's hope so! ;)

FTP idea is plan B. Thanks everyone once again.
Nov 13 '08 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Tihon | last post: by
4 posts views Thread by Joe | last post: by
6 posts views Thread by Robert Strickland | last post: by
5 posts views Thread by Uncle Ben | last post: by
8 posts views Thread by VB Programmer | last post: by
10 posts views Thread by JoeP | last post: by
2 posts views Thread by David C | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by subhajit12345 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.