Discuss this help topic in SecureBlackbox Forum
TElSimpleSFTPClient.RequestAttributes
Retrieves the attributes for a specified file
Declaration
Parameters
Description
Use this method to retrieve attributes for a specified file.
Set
Attributes.IncludedAttributes property to the set of attributes which you need to query.
If the attributes were not successfully retrieved, the
OnError event is fired.
Otherwise, all or some of the specified attributes are set.
Check
Attributes.IncludedAttributes property to find out, what attributes were actually returned.
In case of error, EElSFTPError exception containing
SFTP error code, is raised.
For more information on error handling, please read the
corresponding how-to article.