Indy 9 | Content | Index | Reference

TTransferCompleteEvent
See Also, Unit: IdTrivialFTPServer
Specifies the event type for completed TFTP transfers.

    TTransferCompleteEvent = procedure (Sender: TObject; const Success: Boolean; const PeerInfo: TPeerInfo; AStream: TStream; const WriteOperation: Boolean) of object;

Unit
IdTrivialFTPServer
Parameters
AStream
Contains data for the peer connection.
PeerInfo
Information about the peer connection.
Sender
Trivial FTP server generating the event.
Success
Indicates that the transfer was successful.
WriteOperation
Indicates that the transfer was a write operation.
Description
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.