How to return a list of files located on an FTP server

V

vbnewbie

I need to capture the names and paths of all files located on an ftp
server.
I will then populate a listbox with these file names so that a user
can select which to download.

In the following example, I would need to get a list of all the file
names in the folder named Data2

ftp://myftp/Data/Data2/File1...file2...file3 etc

I tried to use the FolderBrowser Dialog box but that only shows
folders, not files.

Thanks
 
P

Patrick Steele

I need to capture the names and paths of all files located on an ftp
server.
I will then populate a listbox with these file names so that a user
can select which to download.

In the following example, I would need to get a list of all the file
names in the folder named Data2

ftp://myftp/Data/Data2/File1...file2...file3 etc

I tried to use the FolderBrowser Dialog box but that only shows
folders, not files.

http://blogs.msdn.com/mariya/archive/2006/03/06/544523.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top