TIdFTP.DirFormat is not updated

Giganews Newsgroups
Subject: TIdFTP.DirFormat is not updated
Posted by:  jvlad (dm…@yandex.ru)
Date: Sat, 15 Jan 2011

Hi all,
my server supports MLSD command and Indy uses it, so the list returned by
TIdFTP.List() method puts facts into the list. Unfortunately,
TIdFTP.DirFormat is not updated by the List, it's  updated only if I call
TIdFTP.DirectoryListing.

I'd recommend to re-implement this or introduce a new propery implemented
via getter returning FListResult.FUsedMLS
In this case it will always be consistent with last List() operation.

Replies