Container for a structured file and directory listing.
property DirectoryListing: TIdFTPListItems;
Description
DirectoryListing is a read-only TIdFTPList property that represents the container and parser for TIdFTPListItem instances created from the result values for the List or Status methods. DirectoryListing is always cleared prior to adding the values returned by List or Status.
DirectoryListing provides a structured means of accessing data about files and directories returned from the
FTP LIST, NLST, or STAT commands. DirectoryListing can also be used to populate
GUI controls that display the results of the
FTP operation, like TTreeView.
DirectoryListing can be used with the OnParseCustomListFormat event handler to allow parsing of
FTP List formats not normally supported by TIdFTPList.
DirectoryListing is initialized prior to use in List, or using the OnCreateFTPList event handler. DirectoryListing is freed in the Destroy method.