Click here to Skip to main content
15,891,853 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How do I ftp file using asp.net code
Posted
Comments
R. Giskard Reventlov 19-Jan-11 13:14pm    
What have you already tried?

Do you really want to transfer a file to a different server? Because if you merely want to copy a file to a location within the webserver, from your server side code, all you probably need to do is a local copy.

If you really want to use FTP, then take a look at the FtpWebRequest class. See http://msdn.microsoft.com/en-us/library/8exfzxft.aspx[^]
 
Share this answer
 
v2
From this question and your previous question, I think what you need to do is become familiar with the HTML input (type=file) control.

File Upload with ASP.NET
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900