procedure DefaultWriteFile(SFTPSessionInfo: TScSFTPSessionInfo; Data: TObject; Offset: Int64; const Buffer: TBytes; Count: integer; var Error: TScSFTPError); virtual;



Call the DefaultWriteFile method to write data to the file specified by the Data object.



SFTPSessionInfo - contains the information about the current SFTP session.
Data - specifies the information about a writing file as the TScHandle object. Usually this object is previously returned by the DefaultOpenFile method.
Offset - the offset in bytes relative to the beginning of the file that the writing started at. This field is ignored if TEXT MODE was specified during the opening.
Buffer - the sequence of bytes that should be written to the file.
Count - the number of bytes to write.
Error - returns the information about an error that can arise when writing a file.


See also


SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support