login about faq

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.

asked Feb 25 '13 at 18:58

Rolex's gravatar image

Rolex
1223


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

link

answered Feb 25 '13 at 20:06

jpbro's gravatar image

jpbro ♦
1.1k2618

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.

link

answered Feb 25 '13 at 20:04

jpbro's gravatar image

jpbro ♦
1.1k2618

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

link

answered Feb 26 '13 at 16:02

Rolex's gravatar image

Rolex
1223

It seems to me that in order to create an object that contained all that- the component would have to download the files in question. filezilla doesn't do that- it retrieves the directory info and creates it's own objects locally, fetching icon information from local settings. (for example:if you don't have photoshop installed and filezilla shows a psd, it has a blank paper icon). If you used the listing text to create a menu of the files- then you would have to write the controls to select, right click, and what to do if a right click option was selected... just a thought

(Feb 26 '13 at 16:41) blaze4218

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.

link

answered Feb 26 '13 at 16:55

Rolex's gravatar image

Rolex
1223

but my point is that fz is not doing that "instantly" check the log info:

Command: CWD _db_backups

Response: 250 CWD command successful.

Command: PWD

Response: 257 "/_db_backups" is current directory.

Command: PASV

Response: 227 Entering Passive Mode (**).

Command: LIST

Response: 150 Opening BINARY mode data connection.

Response: 226 Transfer complete.

Status: Directory listing successful

that status: directory listing. that's all it did. the rest was the application logic showing the files in a way that you can interact with them. and you would need to also create that logic

(Feb 26 '13 at 17:03) blaze4218

Any idea how I would go about doing that though?

link

answered Feb 26 '13 at 17:25

Rolex's gravatar image

Rolex
1223

ohh, many... but I don't even know what language your using...

I use chilkat for maintenance scripts in JScript, but if I wanted to do that I would create an HTA and use HTML to create an interface similar to FZ. using the <select> tag I can generate a select-able interface, then with JScript I would populate the right click options. If for instance, someone selected an option to download, then I would use the chilkat FTP component to find the file and download it...

but that's a big project, and this forum is to answer specific questions... Maybe you should use FZ if it works :)

good luck.

(Feb 26 '13 at 17:41) blaze4218

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

link

answered Feb 26 '13 at 17:51

Rolex's gravatar image

Rolex
1223

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×90

Asked: Feb 25 '13 at 18:58

Seen: 4,625 times

Last updated: Feb 26 '13 at 17:51

powered by OSQA