Indy 9
|
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.