Internet Direct (Indy) Version 9.0.2 Beta
TIdFTPListItems.DirectoryName
File system directory represented by entries in the collection.

property DirectoryName: string;
Description
DirectoryName is a public String property that indicates the name of the file system directory represented by the entries in the collection. Changing the value in DirectoryName causes the collection to be cleared.