procedure UnBlock(const Handle: TScSFTPFileHandle; Offset, Count: Int64);

 

Description

Call the UnBlock method to remove a previously acquired byte-range lock on the specified handle.

If the NonBlocking property is set to True, then control is returned at once and you can learn the result of the operation execution by handling the OnSuccess and OnError events.

 

Note: This operation is supported starting with the version 6 of the SFTP protocol.

 

Parameters:

Handle - a handle on which a Block request has previously been.
Offset - the beginning of the byte-range to lock.
Count - the number of bytes in the range to lock. The special value 0 means lock from Offset to the end of the file.

 

See also

Block

OnError

OnSuccess

 

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