ListDir result not lasting till DONE event in COM - WeOnlyDo Discussion board

ListDir result not lasting till DONE event in COM (wodFtpDLX / wodFtpDLX.NET)

by condev1972, Saturday, March 18, 2006, 21:16 (6606 days ago)

Hello,
I'm using 2.5.6 COM of FtpDLX within Delphi 5 (Blocking = TRUE).

So far I got it connecting fine to a FTPs server and the
ListItems event is fired.

The documentation says I have to use the DirItems collection
in the Done event to e.g. fill a list view with the actual
entries (I want to do manual parsing on the Item.FullLine ).

Although the DirItems event does have several entries in the
FileInfo parameter, the DirItems collection Count is
0 (zero) when I access it in the Done event.

In other words: ListDir works, but collection is not filled in
Done event as it should. [:uhoh:]

Is the documentation incorrect or not meant for COM?
Or do I have to set a specific property?

Thanks for any hints/help.

Cheers,
Tobias


Complete thread: