I'm quite sure that you're just as capable of searching MSDN and Google for the relevant terms as I am. I've never done it myself but if I was the first thing I would be doing is going to the MSDN Library and looking up FtpWebRequest and WebRequestmethods.Ftp.ListDirectories, as should anyone.