procedure DefaultRetrieveAttributes(SFTPSessionInfo: TScSFTPSessionInfo; const Path: string; FollowSymLink: boolean; const ReqAttrs: TScSFTPAttributes; Attributes: TScSFTPFileAttributes; var Error: TScSFTPError); virtual;
Description
Call the DefaultRetrieveAttributes method to retrieve the attributes for a named file.
DefaultRetrieveAttributes receives the file attributes and writes them to the Attributes object.
Parameters:
• | SFTPSessionInfo - contains the information about the current SFTP session. |
• | Path - specifies the file system object for which attributes should be returned. |
• | FollowSymLink - specifies if the file follows symbolic links. |
• | 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