procedure DefaultRetrieveAttributesByHandle(SFTPSessionInfo: TScSFTPSessionInfo; Data: TObject; const ReqAttrs: TScSFTPAttributes; Attributes: TScSFTPFileAttributes; var Error: TScSFTPError); virtual;
Description
Call the DefaultRetrieveAttributesByHandle method to retrieve the attributes for a file specified by the Data object.
DefaultRetrieveAttributesByHandle receives the file attributes and writes them to the Attributes object.
Parameters:
• | SFTPSessionInfo - contains the information about the current SFTP session. |
• | Data - specifies the information about a requested file or directory as the TScHandle or TScSearchRec object. Usually this object is previously returned by the DefaultOpenFile or DefaultOpenDirectory methods. |
• | ReqAttrs - specifies the file attributes which should be retrieving. |
• | Attributes - an object to which the attributes of the requested file will be written. |
• | Error - returns the information about an error that can arise when retrieving file attributes. |
See also