4
Reply

Upload large files (i.e. files of size <=10 GB) using asp.net 3.5

vijay kumar

vijay kumar

Jan 6 2012 4:22 AM
10.3k
Dear Techies,

     I have a requirement to Upload a 10 GB File to FTP Server using asp.net. I tried in many ways. I couldn't get the solution for it. If i select a file of size > 2GB using asp.net file upload control, and when i click on the upload button, the page is rendering for a long time and not submitting to the server, getting the error "The Internet Page cannot be displayed".

I also tried in a way that i created a windows forms control library and place that dll on to web page. In the server( in which i have deployed the project) it is working fine. But when i connect the URL on other than the server, it is not working. it is throwing me the below error (When i Click on the Browse button).

image.png 




Used the below Object tag to place the windows control on web page.

(<object id="objUploadCtrl" classid="http:CSIMFileUploadControl.dll#CSIMFileUploadControl.FtpUpload">

when i set the permissions in control panel -> Administrative tools -> .Microsoft.NET framwork 2.0 configuration tool -> My Computer -> Machine -> code Groups -> Trusted Zones -> Properties -> Permission Set -> Full trust, it is working fine out of the server. But Every user must do this setting. Because it is a internet based application, I cannot request all the users to  do this setting before using it.. :)

Can anybody help me on this.





Answers (4)