Coffeehouse Post

Single Post Permalink

View Thread: Large File Uploads in ASP.NET 3.5
  • User profile image

    So my journey continues. I'm now trying to work on a webpage that needs to transfers files that may be as large as 10GB from one location to the other and ASP.NET 3.5 is not letting me do so with the FileUpload control. 

    After modifying web.config as follows:

    <httpRuntime executionTimeout="1000000000" maxRequestLength="2097151"/>

    I can upload files over 1GB, but it still fails when it comes to files at 4GB or higher. 

    Another thing I've noticed is that going into any event handler after browsing to a large file, takes a long time, even if the handler's code has nothing to do with the upload. I'm not really sure how the FileUpload control works, but it seems as if some copying is going on before it even gets to my handler, sure hope it's not putting all of that information in memory.

    Can anybody shed some light on this? thanks niners.