TScFTPErrorEvent = procedure(Sender: TObject; ErrorCode: integer; const ErrorMessage: string; var Fail: boolean) of object;


property OnError: TScFTPErrorEvent;



The OnError event occurs when the server returns an error when executing some operation.



Sender - the object that raised the event;
ErrorCode - holds the error code;
ErrorMessage - holds the readable description of the error;
Fail - set the Fail parameter to False to prevent raising an exception, and set this parameter to True to raise the EScFTPError exception.


See Also



SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support