Discuss this help topic in SecureBlackbox Forum
This event is fired when server receives non-standard request from client.
Declaration
[Java]
TElSFTPServerExtendedRequestEvent getOnExtendedRequest();
void setOnExtendedRequest(TElSFTPServerExtendedRequestEvent Value);
TElSFTPServerExtendedRequestEvent.Callback OnExtendedRequest = new TElSFTPServerExtendedRequestEvent.Callback() {
public void TElSFTPServerExtendedRequestEventCallback(TObject arg0, String arg1, byte[] arg2, int arg3, int arg4, TElStream arg5, TSBInteger arg6, TSBString arg7) {
//...
}
}
Parameters
- Request - custom request name
- Buffer - buffer with the request data
- BufferOffset - start position in the Buffer
- Size - request size in bytes
- Response - stream to which the handler must wtite the response to the request
- ErrorCode - the error code, see values below
- Comment -
- pcRequest - custom request name
- szRequest - the length of pcRequest.
- pcComment -
- szComment -
Error codes
Description
This event is fired when client sends non-standard request. The application can return the error code in ErrorCode parameter and textual comment in Comment parameter.
Discuss this help topic in SecureBlackbox Forum