473,395 Members | 1,756 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,395 software developers and data experts.

How to upload file > 4GB on web server from ASP.NET

The HTMLInputFile control works fine up to 25 MB with changing MaxRequestLen in web.config but didn't work for greater size of the file..does anybody have the idea how to do that.??

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Nov 18 '05 #1
3 2074
DotNetJunkies User wrote:
The HTMLInputFile control works fine up to 25 MB with changing
MaxRequestLen in web.config but didn't work for greater size of the
file..does anybody have the idea how to do that.??


Quite frankly, doing a 4 GB upload through ASP.NET is insane, as it blows up
your worker process (it will keep all uploaded bytes in memory until the
upload is finished). You're much better off using another protocol for such
heavy weight operations.

Cheers,

--
Joerg Jooss
jo*********@gmx.net

Nov 18 '05 #2
DotNetJunkies User <User@-NOSPAM-DotNetJunkies.com> wrote in
news:O4**************@TK2MSFTNGP10.phx.gbl:
The HTMLInputFile control works fine up to 25 MB with changing
MaxRequestLen in web.config but didn't work for greater size of the
file..does anybody have the idea how to do that.??


FTP.

Because I bet the Inputfile control stores the file into memory... thus
blowing your server up.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 18 '05 #3
Get a 3rd party control that breaks the file up into chunks and streams it
to the server.
This way you do not overload the RAM and blow up your server.
--
Joe Fallon

"DotNetJunkies User" <User@-NOSPAM-DotNetJunkies.com> wrote in message
news:O4**************@TK2MSFTNGP10.phx.gbl...
The HTMLInputFile control works fine up to 25 MB with changing MaxRequestLen in web.config but didn't work for greater size of the
file..does anybody have the idea how to do that.??
---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup

engine supports Post Alerts, Ratings, and Searching.
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: lawrence | last post by:
I've been using the following function (yes, it is inelegant, what can I say, I wrote it a long time ago) to upload images. Haven't had a problem with it for at least a year, and I don't recall...
3
by: RWK | last post by:
I'm trying to figure out how to verify that the file trying to be uploaded exists. On my page if I type in the name of a file that doesn't exist it get's uploaded as a file with 0 bytes. When...
1
by: Axe | last post by:
Here's the problem: I've got an ASP.NET (C#) web page that has a single <input type=file> control on it for uploading a file. The way the code works is that the uploaded file is then parsed for...
10
by: Brian Henry | last post by:
Hi, I am having a problem with an attachment system I made... it works with files up to ~3MB in size then after that if you try to upload a file it just goes to a "Page can not be displayed" page...
1
by: Marko Vuksanovic | last post by:
I used the following code for implementing a file upload progress indicator, using UpdateProgress Panel, though I have a problem that FileUpload.Has File always returns false. Any suggestions what...
4
by: SammyBar | last post by:
Hi all, I wonder is it possible to upload the content of an <imgfield to a server. The content of the <imgwas downloaded from a web site different from the one it should be uploaded. The image...
9
by: Steve Poe | last post by:
I work for an animal hospital trying to use PHP to store an animal's dental x-rays to a file server. I can browse for the xray on the local desktop computer then click "Upload Image". This...
1
Fary4u
by: Fary4u | last post by:
Hi Guys i'm trying to upload a file, i've tried 3 different methods but still not work out i don't know how to over come this problem hidden file value, multiple form or popup uploading. 1-...
0
by: dewereb | last post by:
I am needing to create a Flex application that can upload a file to our server, then turn around and display the contents of the file on the web page. Is there any way I can do this? If so, would...
2
by: hotflash | last post by:
Hi All, I found the best pure ASP code to upload a file to either server and/or MS Access Database. It works fine for me however, there is one thing that I don't like and have tried to fix but...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...
0
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...

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.