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

OnError

OnSuccess

OpenDirectory

OpenFile

SetAttributesByHandle

 

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