procedure DefaultCloseFile(SFTPSessionInfo: TScSFTPSessionInfo; Data: TObject; var Error: TScSFTPError); virtual;



Call the DefaultCloseFile method to close an opened handle of a file or directory specified by the Data object.



SFTPSessionInfo - contains the information about the current SFTP session.
Data - specifies the information about a closing file or directory as the TScHandle or TScSearchRec object. Usually this object is previously returned by the DefaultOpenFile or DefaultOpenDirectory methods.
Error - returns the information about an error that can arise when closing a file.


See also


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