views:

344

answers:

4

I'm looking to connect to an existing ftp server, upload a file, wait while the server generates a report on it, and download that report back to the local machine in a vb.net 2.0 winforms project.

Is there an existing FTP library that would be helpful to me for this? My task seems simple enough that I'd rather not get into the world of active vs. passive, sockets, etc.

+1  A: 

You need to use FtpWebRequest.

Nick Berardi
+3  A: 

Look into System.Net.FtpWebRequest/FtpWebResonse

Joel Coehoorn
+1  A: 

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

WebClient is simpler but supports less features. I haven't run into many situations that FtpWebRequest can't handle.

Ryan Brunner
+1  A: 

Have you tried the FtpWebRequest class

JaredPar