procedure DefaultSetAttributesByHandle(SFTPSessionInfo: TScSFTPSessionInfo; Data: TObject; Attributes: TScSFTPFileAttributes; var Error: TScSFTPError); virtual;
Description
Call the DefaultSetAttributesByHandle method to set the attributes for a file specified by the Data object.
Parameters:
• | SFTPSessionInfo - contains the information about the current SFTP session. |
• | Data - specifies the information about a modifying file or directory as the TScHandle or TScSearchRec object. Usually this object is previously returned by the DefaultOpenFile or DefaultOpenDirectory methods. |
• | Attributes - object, that specifies the modified attributes to be applied. |
• | Error - returns the information about an error that can arise when setting file attributes. |
See also