Discuss this help topic in SecureBlackbox Forum
TElSimpleSFTPClient.SetAttributes
Sets the attributes for a specified file
Declaration
Parameters
Description
Use this method to set attributes for a specified file or directory. You need to set the attributes via various properties of Attributes parameter, also you need to adjust Attributes.IncludedAttributes property to specify attributes which you need to set.
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.