Upload file to ftp folder in asp.net

After some research, I have become relatively blank on the matter. What I am trying to do is download a file (.jpeg) from the asp.net page when a user clicks the download button on our company's public website. The files are stored in a folder on the ftp site.

Can someone point me in the right direction to start with this? I have ftp credentials and I can login and see the actual folder that I need to download, I just need some direction. I have never worked with ftp through asp.net before.

Thank!

+3


source to share


1 answer


Loading must be done using the FtpWebRequest class.

Usage information and examples of the FtpWebRequest class are available at: http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx



Also check if the following site is helpful: http://nethelp.wikidot.com/ftpupload

+2


source







All Articles