Topic Path: Symbol Reference > Classes > TIdTrivialFTPServer Class > TIdTrivialFTPServer Events > OnTransferComplete Event
ContentsIndexHome
PreviousUpNext
TIdTrivialFTPServer.OnTransferComplete Event

Specifies an event handler for completed TFTP transfers.

property OnTransferComplete: TTransferCompleteEvent;
Parameters 
Description 
Sender 
Trivial FTP server generating the event.
 
Success 
Indicates that the transfer was successful.
 
PeerInfo 
Information about the peer connection.
 
SourceStream 
Contains data for the peer connection.
 
WriteOperation 
Indicates that the transfer was a write operation. 

OnTransferComplete is a TTransferCompleteEvent event handler that allows a TrivialFTP server to respond to notifications that a file transfer method has been completed. OnTransferComplete allows the TFTP server to perform operations that may be required for the peer connection or data received on the connection. 

An application must assign a procedure to the event handler to allow a response to the event notification. If no user event handler exists, SourceStream is automatically freed.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.