Event OnFtpInfo
Occurs when there is any information that received by component
(please see ftp.pas for the declaration of FtpInfo)property OnFtpInfo: TMFtpInfoEvent;
Applied to
Example
procedure
TForm1.MyFtpInfo; var Speed: Extended; begin case info of { connection status } ftpResolvingAddress: StatusPanel.SimpleText := 'Resolving ' + addinfo; ftpAddressResolved: StatusPanel.SimpleText := 'Connected to ' + addinfo; ftpServerConnected: StatusPanel.SimpleText := 'Connected to ' + addinfo; ftpServerDisconnected: StatusPanel.SimpleText := 'Disconnected';
{ transfer status } |