Connect to FTP server with .net 2.0

I want to connect to an existing FTP server, upload a file, wait for the server to create a report on it, and upload this report to the local computer in the VB.NET 2.0 WinForms project.

Is there an existing FTP library that would be useful to me? My task seems simple enough that I would rather not get into the world of active versus passive, sockets, etc.

+4
source share
4 answers

System.Net.FtpWebRequest and System.Net.WebClient can do this.

WebClient is simpler but supports fewer features. I have not encountered many situations that FtpWebRequest cannot handle.

+2
source

Take a look at System.Net. FtpWebRequest / FtpWebResonse

+4
source

You need to use FtpWebRequest .

+2
source
+2
source

All Articles