property OnProtocolNextFile : TProtocolNextFileEvent
TProtocolNextFileEvent = procedure(
CP : TObject; var FName : string) of object;
Defines an event handler that is called to determine the next file to transmit in a batch transfer.
If no handler is installed for this event, Async Professional CLX transmits the files that match the filemask assigned to the FileMask property. If you need to transmit a batch of files that cannot be described by a single filemask, you need to install an event handler for OnProtocolNextFile.
CP is the protocol component that is transmitting. The event handler should return the next file to transmit in FName, or an empty string to terminate the batch.
See "NextFile processing" in the printed documentation for more information.
See also: FileMask