Error Event
Information about errors during SFTP connection.
Syntax
ANSI (Cross Platform) virtual int FireError(SFTPClientErrorEventParams *e);
typedef struct {
int ErrorCode;
const char *Description; int reserved; } SFTPClientErrorEventParams; Unicode (Windows) virtual INT FireError(SFTPClientErrorEventParams *e);
typedef struct {
INT ErrorCode;
LPCWSTR Description; INT reserved; } SFTPClientErrorEventParams;
- (void)onError:(int)errorCode :(NSString*)description;
#define EID_SFTPCLIENT_ERROR 6 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.