How to Download all files using FTP from a VS 2008 VB project

mpdillon
mpdillon used Ask the Experts™
on
I am starting a new VS @008 Visual Basic WIndow Forms project. I would like to be able to periodically check a FTP server and download any files in a specified directory to a local directory. Once downloaded the project would need to delete those files from the FTP server. The downloaded files would then be processed locally. Later the VB project would perform the same actions.
I have found a couple of tutorials on downloading single files whose name is known. Can someone help with how to first Download all the files in a directory and then delete those files?
thanks,
pat
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2013
Commented:
Here is one similar question...
http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_2.0/Q_23018842.html

It is just partial answer to your question.

Author

Commented:
Thanks, These are both helpful. It will be a few days before I test them.
thanks,
pat

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial