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.
From stackoverflow
-
You need to use FtpWebRequest.
-
Look into System.Net.FtpWebRequest/FtpWebResonse
-
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.
-
Have you tried the FtpWebRequest class
0 comments:
Post a Comment