473,385 Members | 1,720 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.

4GB+ Upload in ASP.NET

I'm looking for an ASP.NET solution which will allow my website to receive
huge files in the size of 4GB and up.

This solution needs to be integrated with a front-end. Users will have to
populate some FORM fields and browse for the 4GB file. Upon FORM
submission, the application will collect both the FORM field data and the
4GB upload.

A file transfer progress bar would be nice too.

I think the current HTTP file transfer method will only support up to 2GB in
size. Please advise how I can support 4GB+ upload in ASP.NET websites.

Thank you in advance.
Nov 19 '05 #1
8 3182
4GB!! Do you really want to tick off your users by having them wait for a
4GB upload? The .NET runtime supports up to 4MB by default. You really need
to re-think what you are doing. Maybe a different protocal may be better.
Something like a bittorrent.
"Uncle Ben" <sp******@nospam.com> wrote in message
news:uU**************@TK2MSFTNGP14.phx.gbl...
I'm looking for an ASP.NET solution which will allow my website to receive
huge files in the size of 4GB and up.

This solution needs to be integrated with a front-end. Users will have to
populate some FORM fields and browse for the 4GB file. Upon FORM
submission, the application will collect both the FORM field data and the
4GB upload.

A file transfer progress bar would be nice too.

I think the current HTTP file transfer method will only support up to 2GB
in
size. Please advise how I can support 4GB+ upload in ASP.NET websites.

Thank you in advance.

Nov 19 '05 #2
I seriously doubt that the HTML protocol will give you the possibility of
uploading a file of 2GB in size. For downloading, yes, but not for
uploading. (For the HTML protocol, uploading and downloading are two very
different things and these two cannot be mixed or switched over.)

Your only possibilities are to use FTP or to install a client application on
each user and tranfert your files the classic way over the socket.

For using an HTML Form to browse and upload the file to ASP.NET, forget it.

S. L.

"Uncle Ben" <sp******@nospam.com> wrote in message
news:uU**************@TK2MSFTNGP14.phx.gbl...
I'm looking for an ASP.NET solution which will allow my website to receive
huge files in the size of 4GB and up.

This solution needs to be integrated with a front-end. Users will have to
populate some FORM fields and browse for the 4GB file. Upon FORM
submission, the application will collect both the FORM field data and the
4GB upload.

A file transfer progress bar would be nice too.

I think the current HTTP file transfer method will only support up to 2GB
in
size. Please advise how I can support 4GB+ upload in ASP.NET websites.

Thank you in advance.

Nov 19 '05 #3
You can do it - you'll have to work out how to stop the worker process
recycling at the machine level, and how to increase your script timeout to
cater for duration, somehow based on a likely variable upload speed from
clients - but its probably do-able. It is however a bit over ambitious to
even consider this when there are so many other solutions that are better
suited to this.

If it was me I would look to pipe this through some form of torrent client
as a seeded file to a torrent server, or get some IRC script and hack
together a client and server and use xdcc, or use ftp as its capable....http
would not be my first choice for this.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Uncle Ben" <sp******@nospam.com> wrote in message
news:uU**************@TK2MSFTNGP14.phx.gbl...
I'm looking for an ASP.NET solution which will allow my website to receive
huge files in the size of 4GB and up.

This solution needs to be integrated with a front-end. Users will have to
populate some FORM fields and browse for the 4GB file. Upon FORM
submission, the application will collect both the FORM field data and the
4GB upload.

A file transfer progress bar would be nice too.

I think the current HTTP file transfer method will only support up to 2GB in size. Please advise how I can support 4GB+ upload in ASP.NET websites.

Thank you in advance.

Nov 19 '05 #4
Sylvain Lafontaine wrote:
I seriously doubt that the HTML protocol will give you the
possibility of uploading a file of 2GB in size.


There's no HTML protocol. I guess you mean HTTP? Rest assured that
uploading 4 GB over HTTP isn't an issue for the protocol.

Whether a specific file upload API can deal with these huge uploads is
a completely different story.

Cheers,

--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #5
"Joerg Jooss" <ne********@joergjooss.de> wrote in message
news:xn***************@msnews.microsoft.com...
There's no HTML protocol. I guess you mean HTTP? Rest assured that
uploading 4 GB over HTTP isn't an issue for the protocol.
I thought there's a limit of 2 GB over HTTP? No?
Whether a specific file upload API can deal with these huge uploads is
a completely different story.


Is there one available? What do most people use in .NET to handle "large"
file upload reliably?
Nov 19 '05 #6
You're right, I mean the HTTP protocol, not the HTML protocol.

My point was about to remind that the HTTP protocol is not symetrical in its
conception: there are limitations on what you can send inside a POST query
made to a web server and the fact that you can download a file with a
relatively great size (I don't know the exact limit, 2G, 4G, none?) doesn't
mean that you can upload a file up to the same size because of the various
limits set on the web server.

I know that we can modify many of these limits but, for a file of a size of
up to 4G, I don't see the utility of even trying to do this instead of using
FTP.

S. L.
"Joerg Jooss" <ne********@joergjooss.de> wrote in message
news:xn***************@msnews.microsoft.com...
Sylvain Lafontaine wrote:
I seriously doubt that the HTML protocol will give you the
possibility of uploading a file of 2GB in size.


There's no HTML protocol. I guess you mean HTTP? Rest assured that
uploading 4 GB over HTTP isn't an issue for the protocol.

Whether a specific file upload API can deal with these huge uploads is
a completely different story.

Cheers,

--
http://www.joergjooss.de
mailto:ne********@joergjooss.de

Nov 19 '05 #7
Sylvain Lafontaine wrote:
You're right, I mean the HTTP protocol, not the HTML protocol.

My point was about to remind that the HTTP protocol is not symetrical
in its conception: there are limitations on what you can send inside
a POST query made to a web server and the fact that you can download
a file with a relatively great size (I don't know the exact limit,
2G, 4G, none?) doesn't mean that you can upload a file up to the same
size because of the various limits set on the web server.


You're right -- web servers or application servers will pose a problem
here rather than the protocol itself.

Cheers,
--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #8
Uncle Ben wrote:
"Joerg Jooss" <ne********@joergjooss.de> wrote in message
news:xn***************@msnews.microsoft.com...
There's no HTML protocol. I guess you mean HTTP? Rest assured that
uploading 4 GB over HTTP isn't an issue for the protocol.


I thought there's a limit of 2 GB over HTTP? No?


No. Why?

--
http://www.joergjooss.de
mailto:ne********@joergjooss.de
Nov 19 '05 #9

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

Similar topics

9
by: thomasb | last post by:
Hi! This may seems to be a stupid question but I can't figure out how configuration of more than 4 GB memory on Windows works. dbset db2_awe=1,<number of physical pages>, <number of address...
3
by: DotNetJunkies User | last post by:
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...
3
by: Paul Spielvogel | last post by:
I need to compute the MD5 hash on VERY large files 500mb to 4gb+ I have found two ways but neither one of them does what i need. Private Function ComputeDataMD5(ByVal path As String) As String...
5
by: Digital Puer | last post by:
Hi, I have a 13GB file. fopen() is failing on me. The resulting perror message is: "Value too large to be stored in data type". Can someone sugggest a solution? Do I need to use a new file library?...
4
by: rajaramanv | last post by:
Hi All, I want to understand how to access above 4GB memory using PAE mechanism. I need some sample code which helps me to understand 1. How to enable PAE 2. How to setup page table for...
0
by: SEMIH DEMIR | last post by:
Sitelerden birinde verilen yabancı kaynakli bir scriptti duzenledim yanlız birseyin içinden bir turlu cıkamadım işin aslı ilk defa persistin upload componentini kullanacam yanlız suanki haliyle...
1
by: orenbt | last post by:
Hi, I am new to SQL express and try to solve the 4GB size limitation. Is there a possibility to create a new database file every time I get to the limit? How can I do that with C#? how can I...
3
by: Xiaoning He | last post by:
hi currently i'm using a crawler called larbin to get some pages, it hashes each url to an integer. This is not a good method comparing to md5, however it's enough for me. Currently i set the hash...
19
by: Robert Kochem | last post by:
Hi, I am relative new to C++ regarding it's functions and libraries. I need to access files larger than 4GB which is AFAIK not possible with the STL iostream - at least not if using a 32 bit...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.