procedure DefaultRetrieveAttributes(SFTPSessionInfo: TScSFTPSessionInfo; const Path: string; FollowSymLink: boolean; const ReqAttrs: TScSFTPAttributes; Attributes: TScSFTPFileAttributes; var Error: TScSFTPError); virtual;



Call the DefaultRetrieveAttributes method to retrieve the attributes for a named file.

DefaultRetrieveAttributes receives the file attributes and writes them to the Attributes object.



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


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