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

  • Thread starter Thread starter DotNetJunkies User
  • Start date Start date
D

DotNetJunkies User

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.??
 
DotNetJunkies said:
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,
 
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.
 
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 said:
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.??engine supports Post Alerts, Ratings, and Searching.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top