Archived Forum Post

Index of archived forum posts

Question:

FTP File Listing

Feb 26 '13 at 17:51

Ok, So I have been trying to do this so many different ways I just can't figure it out. I want the FTP files to be displayed like FileZilla(or something like it). I want the Remote files in a listbox and do things with them. I like how I can do that with DownloadTree, but it I don't want it to literally DOWNLOAD the files onto my computer, that takes way too long. If anyone knows what I'm talking about / can help please post. Thank you so much.


Answer

Alternately, you can loop through all of the files and folders in the current remote directory and gather information for display. See this following Chilkat example:

http://www.example-code.com/vb/ftp_listDirectory.asp


Answer

The GetTextDirListing and GetXmlDirListing methods will give you files in the current remote directory. You can then parse the results and produce the output you require.


Answer

ok yes I know how to display them I have no problem with that. Like I cant do anything with them though, it's just in text. There not objects I can- i.e: select, right click, put icons to..ect


Answer

I know what you;re saying but I can use Download tree, it would download all files locally- but it takes a bit of time, FileZilla does it almost instantly.


Answer

Any idea how I would go about doing that though?


Answer

Maybe you could help me more out with this? I'm using Visual Basics.NET. Skype: Alienware68 if you could thank you.