473,769 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3160
Out-of-box FileUpload control has no size limit. Limit can be set in
web.config in the httpRuntime element, parameter maxRequestLengt h. 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.c omwrote in message
news:eQ******** ******@TK2MSFTN GP03.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.orgwro te in
message news:uW******** *****@TK2MSFTNG P05.phx.gbl...
Out-of-box FileUpload control has no size limit. Limit can be set in
web.config in the httpRuntime element, parameter maxRequestLengt h. 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.c omwrote in message
news:Oy******** ******@TK2MSFTN GP04.phx.gbl...
"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in
message news:uW******** *****@TK2MSFTNG P05.phx.gbl...
>Out-of-box FileUpload control has no size limit. Limit can be set in
web.config in the httpRuntime element, parameter maxRequestLengt h. 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 executionTimeou t, 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.c omwrote in message news:Oy******** ******@TK2MSFTN GP04.phx.gbl...
"Eliyahu Goldin" <RE************ **************@ mMvVpPsS.orgwro te in message
news:uW******** *****@TK2MSFTNG P05.phx.gbl...
>Out-of-box FileUpload control has no size limit. Limit can be set in web.config in the httpRuntime element, parameter
maxRequestLeng th. 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.c omwrote:
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.c omwrote in message
news:eQ******** ******@TK2MSFTN GP03.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
2942
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 upload files, like this: copy ($myfile, $uploadfolder . "/" . $myfile_name); Everything works fine, it can process large files and everything, but i need to make sure that people only upload pictures, so i change
4
6011
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
4334
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
1844
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 implement an upload progress bar using this FileUpload control? Thanks.
16
4986
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 set the POST limit in php.ini to 8 megs. What reasons, other than the POST limit, would a large upload fail?
9
2741
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 data from the file to a SQL Server database. I imported System.Data.Forms which gives me access to the FolderBrowseDialog control. The first problem is that the toolbar did not show FolderBrowserDialog server control, so I cannot drag it to my form....
8
20203
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 FileUpload1.PostedFile.ContentLength > ConfigurationManager.AppSettings("MaxVideoUploadSize") Then lblErr.Text = "File needs to be > 0 bytes and less than " & ConfigurationManager.AppSettings("MaxVideoUploadSize") / 1000000 & " MB." Exit Sub
10
4742
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 not to type any file name that does not exists. Thanks, Joe
2
282
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
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10049
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9997
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8873
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3965
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.