Error Event
Information about errors during SFTP connection.
Syntax
ANSI (Cross Platform) virtual int FireError(SSHClientErrorEventParams *e);
typedef struct {
int ErrorCode;
const char *Description; int reserved; } SSHClientErrorEventParams; Unicode (Windows) virtual INT FireError(SSHClientErrorEventParams *e);
typedef struct {
INT ErrorCode;
LPCWSTR Description; INT reserved; } SSHClientErrorEventParams;
- (void)onError:(int)errorCode :(NSString*)description;
#define EID_SSHCLIENT_ERROR 11 virtual INT SECUREBLACKBOXLITE_CALL FireError(INT &iErrorCode, LPSTR &lpszDescription);
Remarks
The event is fired in case of exceptional conditions during data transfer.
ErrorCode contains an error code and Description contains a textual description of the error. For a list of error codes please refer to SFTP.