procedure DefaultUnBlockFile(SFTPSessionInfo: TScSFTPSessionInfo; Data: TObject; const Offset, Len: Int64; var Error: TScSFTPError); virtual;

 

Description

Call the DefaultUnBlockFile method to remove a previously acquired byte-range lock on the file specified by the Data object.

 

Parameters:

SFTPSessionInfo - contains the information about the current SFTP session.
Data - specifies the information about an unblocking file as the TScHandle object. Usually this object is previously returned by the DefaultOpenFile method.
Offset - the beginning of the byte-range to lock.
Len - the number of bytes in the range to lock. The special value 0 means lock from Offset to the end of the file.
Error - returns the information about an error that can arise when unblocking a file.

 

See also

OnUnBlockFile

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