473,385 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 3133
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tihon | last post by:
Hello! I again need your help, just can't understand whats going on. Got this upload pictures form and it's having problem handling large files (~1.5 - 2 MB). Everything works fine if i just...
4
by: Joe | last post by:
Hello, I have IIS 6.0 running on w2k3 Enterprise. I have three upload forms 1 to have restricted uploads .asp 2 to upload plain .asp any extension 3 a FP form upload non .asp
6
by: Robert Strickland | last post by:
What is the default file size limit when uploading a file and can the administrator up that limited when needed?
5
by: Uncle Ben | last post by:
How strong and reliable is the new ASP.NET 2.0 FileUpload control? By that, I mean is it reliable enough to accept 2-gigabyte file uploads per upload session? Also, is it possible or easy to...
16
by: lawrence k | last post by:
I've a file upload script on my site. I just now used it to upload a small text document (10k). Everything worked fine. Then I tried to upload a 5.3 meg Quicktime video. Didn't work. I've...
9
by: Charts | last post by:
I use VS2005 to build a asp.net 2.0 project. I want to be able to click a button on the page and have a dialog window appear where I can navigate the folders to get hold of a file path to load...
8
by: VB Programmer | last post by:
I am using a FileUpload control (ASP.NET 2.0). How do I check the length of the file in bytes BEFORE I let them upload it? I believe my code checks now AFTER... If...
10
by: JoeP | last post by:
Hi All, I am using the FileUpload control for the ASPX page. How do you disable the text box portion of that control, so I can force the user only to pick up a file via the Browser button, and...
2
by: David C | last post by:
Is it possible to upload multiple files using the FileUpload control? It appears to only handle 1 at a time. Thanks. David
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.