procedure SetAttributes(const Path: string; Attributes: TScSFTPFileAttributes);
Description
Call the SetAttributes method to set the attributes for a named file.
If the NonBlocking property is set to True, then control is returned at once and you can learn the result of the operation execution by handling the OnSuccess and OnError events.
Parameters:
• | Path - the file system object (e.g. file or directory) whose attributes are to be modified. If this object does not exist, or the user does not have sufficient access to write the attributes, the server will return an error. |
• | Attributes - object, that specifies the modified attributes to be applied. |
See Also