procedure CloseHandle(const Handle: TScSFTPFileHandle);

 

Description

Call the CloseHandle method to close an opened file 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 processing the OnSuccess and OnError events.

 

Parameters:

Handle - a handle previously returned in the response to OpenFile or OpenDirectory. The handle becomes invalid immediately after this command was sent.

 

See Also

OnError

OnSuccess

OpenDirectory

OpenFile

 

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