Internet Direct (Indy)
Home
PreviousUpNext
TTransferCompleteEvent Type

Specifies the event type for completed TFTP transfers.

Pascal
TTransferCompleteEvent = procedure (Sender: TObject; const Success: Boolean; const PeerInfo: TPeerInfo; var AStream: TIdStream; const WriteOperation: Boolean) of object;
Parameters 
Description 
Sender 
Trivial FTP server generating the event.
 
Success 
Indicates that the transfer was successful.
 
PeerInfo 
Information about the peer connection.
 
AStream 
Contains data for the peer connection.
 
WriteOperation 
Indicates that the transfer was a write operation. 

TTransferCompleteEvent is an event type signalled when a TrivialFTP server transfer operation has been completed. TTransferCompleteEvent allows the TFTP server to perform operations that may be required for the peer connection or data received on the connection.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.