Discuss this help topic in SecureBlackbox Forum
This event is fired when your software has to write the data to the file.
Declaration
[Java]
TElSFTPServerWriteEvent getOnWriteFile();
void setOnWriteFile(TElSFTPServerWriteEvent Value);
TElSFTPServerWriteEvent.Callback OnWriteFile = new TElSFTPServerWriteEvent.Callback() {
public void TElSFTPServerWriteEventCallback(TObject arg0, TObject arg1, long arg2, byte[] arg3, int arg4, int arg5, TSBInteger arg6, TSBString arg7) {
//...
}
}
Parameters
- Data - user data associated with the opened file
- Offset - position from which the data should be written
- Buffer - the data that should be written to the file
- BufferOffset - the start position in the buffer from which the data must be written
- Count - amount of bytes to be written
- ErrorCode - the error code, see values below
- Comment -
- pcComment -
- szComment -
Error codes values:
Description
This event is fired when some data has to be written to a file.
The application can return the error code in ErrorCode parameter and textual comment in Comment parameter.
Discuss this help topic in SecureBlackbox Forum