procedure DefaultCloseFile(SFTPSessionInfo: TScSFTPSessionInfo; Data: TObject; var Error: TScSFTPError); virtual;
Description
Call the DefaultCloseFile method to close an opened handle of a file or directory specified by the Data object.
Parameters:
• | 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