Text is a String function that returns a standardized textual representation of values in a directory listing item. Text uses the value in
TIdFTPListItems.ListFormat to determine the contents of the return value, and returns the following data items for the given value:
- flfNone - Contents of the Data property.
- flfNoDetails - Contents of the FileName property.
- flfUnknown - No value is returned.
- flfCustom - Value returned from the TIdFTPListItems.OnGetCustomListFormat event handlers.
- flfDos - Contents formatted like and MS DOS Directory listing.
- flfUnix, flfVax - Contents formatted in a UNIX-style directory listing.