Internet Direct (Indy) Version 9.0.2 Beta
TIdFTPServer.OnGetCustomListFormat
property OnGetCustomListFormat: TIdOnGetCustomListFormat;
Description
OnGetCustomListFormat is a TIdOnGetCustomListFormat property that represents the event handler signalled when an FTP server implementation needs to use a custom directory listing format. OnGetCustomListFormat is used in ListDirectory when event handlers have been assigned for OnListDirectory and EmulateSystem contains the value ftpsOther.

The event handler for OnGetCustomListFormat is also assigned to the TIdFTPListItems.OnGetCustomListFormat event handler and TIdFTPListItems.ListFormat is given the value flfCustom.

Applications must assign a procedure to the event handler to allow responding to the event notification. The procedure must examine the properties and/or raw data in AItem to generate the textual representation of the directory listing item in VText.