FileError Event
Reports a file access error to the application.
Syntax
ANSI (Cross Platform) virtual int FireFileError(WebDAVServerFileErrorEventParams *e);
typedef struct {
int64 ConnectionID;
const char *FileName;
int ErrorCode; int reserved; } WebDAVServerFileErrorEventParams; Unicode (Windows) virtual INT FireFileError(WebDAVServerFileErrorEventParams *e);
typedef struct {
LONG64 ConnectionID;
LPCWSTR FileName;
INT ErrorCode; INT reserved; } WebDAVServerFileErrorEventParams;
- (void)onFileError:(long long)connectionID :(NSString*)fileName :(int)errorCode;
#define EID_WEBDAVSERVER_FILEERROR 10 virtual INT SECUREBLACKBOX_CALL FireFileError(LONG64 &lConnectionID, LPSTR &lpszFileName, INT &iErrorCode);
Remarks
class uses this event to report a file access errors. FileName and ErrorCode contain the file path and the error code respectively.