I want to upload 30GB with asp.net file upload control, i have heard that ftp can do this or some advanced uploader. I searched but did not find any suitable code or some open source plugin for asp.net. Do you know some library or whats the right way to do this, i am confused.
I am in search of ASP.Net file upload which could upload large file e.g 30GB, and with any logic like ftp or some other resuming way. So is there any plugin which can do this job?
-
1Please make your question more clear: you've listed 3 ways to upload a file (browser's file upload element, FTP and some "uploader with resume feature"). Also show some effort to search for suitable answer... otherwise your question may be simply closed...Alexei Levenkov– Alexei Levenkov2012-06-18 06:52:11 +00:00Commented Jun 18, 2012 at 6:52
-
Have you looked into upload.thinfile.com/features.php?Ray Cheng– Ray Cheng2012-06-18 07:29:39 +00:00Commented Jun 18, 2012 at 7:29
-
Suspect duplicate: stackoverflow.com/questions/9386866/…Jeow Li Huan– Jeow Li Huan2012-06-18 08:06:42 +00:00Commented Jun 18, 2012 at 8:06
4 Answers
I don't think you can do this. Many browsers have upload limit ~ 2GB. Think about different solution than HTTP POST, e.g. direct FTP upload.
2 Comments
Here is a pretty good writeup of the problem http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx
In my own experience working with gigabyte uploads in .net several years ago, it is not easy within the common controls and infrastructure. You will be fighting http timeouts, and have to adjust the web.config to allow for the file size and changes a bit in web.config.
What has to happen to make it work is some form of chunking. So you divide the file up into much smaller pieces and then attempt to upload each one. Then you will have to keep track of which pieces you have gotten and which you have not.
A better/easier solution is to add some RIA functionality to your application so you can handle the upload in
Comments
You could try NeatUpload http://neatupload.codeplex.com/. I've used it last time for uploading files as large as 10MB without problems. Never tried it with multi GB files though.
The control requires full trust.
3 Comments
I think the best should be WebDAV server engine approach http://www.webdavsystem.com/server/documentation/large_files_iis_asp_net