OnCreateFTPList Event

Giganews Newsgroups
Subject: OnCreateFTPList Event
Posted by:  Luis Mineiro (lu…@zbit.pt)
Date: Mon, 05 Jul 2004


When does OnCreateFTPList event occur? Should it "fire" after List() ?

I'm trying to follow the standard "connect to ftp and get root dirs"
behaviour and this is the first time I try Indy.

What I got so far is
Write Greeting text to a memo
and List;

What should I do now to populate a TreeView with results from List;
I know I can have a TStrings object as List() parameter but then I must
parse that list result myself. I know there are several parsers available
and I wanted to know what the best way would be.

A small example even pseudo-code would be nice.

Thanks in advance.

Luis Mineiro (lu…@zbit.pt)
ZBit Software, Lda. http://www.zbit.pt)