FTP using VB.NET
Posted on 2004-04-20
I am re-designing a solution that I had before in Access 2k into Visual Studio.NET
In the old program, I had ftp tasks to get, put and compare files in a ftp server. The old program uses DOS shell routines to perform those tasks and what basically does is to connect to the ftp server, change directories, downloads all text files from those different directories and close the connection when it's done. I would like to include those ftp tasks into the code instead of the DOS shells. I know is posible to do it but I don't have the expertise.
At the end, I would like to only call thye ftp-like commands as functions:
Sub Function mget () '......etc...
and so on
Below is small sample of what I actually do with the DOS shell:
'-------Get my files-----------
cd <remote directory>
lcd <local directory>
This is very urgent and if someone could include ready-to-use code I would really appreciate it.