Event handler signalled following creation of the data channel for data transfer operations.
property OnDataChannelCreate: TIdOnDataChannelCreate;
OnDataChannelCreate is a TIdOnDataChannelCreate property that represents the event handler signalled following creation of the data channel used for data transfer operations in the Get and Put methods.
The data channel for the client will have been initialized prior to triggering the OnDataChannelCreate event handler, and includes the following initializations:
For active connections (where Passive is False), this includes setting the values for the following properties:
Arguments passed to the event handler include FTP client and the data channel instance for the event.
OnDataChannelCreate allows the application to perform logging and maintenace required when the FTP client is about perform a data transfer operation. Assign a procedure to the event handler to allow responding to the event notification.
Use OnDataChannelDestroy to respond to the event notification that occurs on completion of the data transfer and prior to freeing resources allocated to the data channel.
Discuss enabling LargeStream support in IOHandlers using OnDataChannelCreate
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.