FileError Event
Reports a file access error to the application.
Syntax
typedef struct { __int64 ConnectionID; String FileName; int ErrorCode; } TsbxHTTPServerFileErrorEventParams; typedef void __fastcall (__closure *TsbxHTTPServerFileErrorEvent)(System::TObject* Sender, TsbxHTTPServerFileErrorEventParams *e); __property TsbxHTTPServerFileErrorEvent OnFileError = { read=FOnFileError, write=FOnFileError };
Remarks
The component uses this event to report a file access errors. FileName and ErrorCode contain the file path and the error code respectively.