Internet Direct (Indy)
Home
PreviousUpNext
TIdTrivialFTPServer.OnTransferComplete Event

Specifies an event handler for completed TFTP transfers.

Pascal
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.

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.