File upload to FTP
-
My problem is file uploading is failed when website is published otherwise its working fine I am using IIS 5.0 and ASP.net 3.5 in Visual Studio 2008 For attatching file i am using a seperate popup window and saveing posted file in session variable Session["postedFile"] = uploadFile.PostedFile; // HttpPostedFile from FileUpload control Uploading is done from another page. Is it can be done in better way? Please help Regards Radhakrishnan G.
-
My problem is file uploading is failed when website is published otherwise its working fine I am using IIS 5.0 and ASP.net 3.5 in Visual Studio 2008 For attatching file i am using a seperate popup window and saveing posted file in session variable Session["postedFile"] = uploadFile.PostedFile; // HttpPostedFile from FileUpload control Uploading is done from another page. Is it can be done in better way? Please help Regards Radhakrishnan G.
Why do you use Session to store files.... It is the highest possiblity of the user to upload a large file and eat up all the memory of the server.. Think it will be better to write in disk rather than using memory for file upload.
Abhishek Sur
-
Why do you use Session to store files.... It is the highest possiblity of the user to upload a large file and eat up all the memory of the server.. Think it will be better to write in disk rather than using memory for file upload.
Abhishek Sur
Thanks for the reply. Yes thats good idea. I shall keep these attatched files in the Temperory folder of the server after the processing and uploading I will remove this files..