Internet Direct (Indy) Version 9.0.2 Beta
TIdFTP.OnCreateFTPList
Event handler signalled when a formatted DirectoryListing needs to be created.

property OnCreateFTPList: TIdCreateFTPList;
Description
OnCreateFTPList is a TIdCreateFTPList property that represents the event handler signalled when a formatted DirectoryListing needs to be created prior to loading the results from the List or Status methods. OnCreateFTPList can be used to create and/or populate the TIdFTPList instance used for the DirectoryListing property.

Applications must assign a procedure to the event handler to allow responding to the event notification. TIdFTP creates a TIdFTPList class instance using the default values when OnCreateFTPList has not been assigned.