Indy 9
OnFTPStatus
See Also
Event handler used to signal a change in the FTP connection status.
Description
OnFTPStatus is a TIdFTPStatusEvent property that represents the event handler signalled when the state of the FTP client connection is changed.

OnFTPStatus is signalled in Connect, after successfully opening the client connection, to indicate the value ftpReady.

OnFTPStatus is used in the internal implementation of Get and Put to indicate the status of the connection at various times. OnFTPStatus is signalled using the value ftpTransfer prior to data transmission. OnFTPStatus is signalled using the value ftpReady after successful completion of the command. OnFTPStatus can also signal the value ftpAborted when the command has successfully executed the Abort method, or as a result of an FTP protocol error code.

Applications must assign a procedure to the event handler to allow responding to the TIdFTPStatusEvent event notification.


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