procedure DefaultSetAttributes(SFTPSessionInfo: TScSFTPSessionInfo; const Path: string; Attributes: TScSFTPFileAttributes; var Error: TScSFTPError); virtual;

 

Description

Call the DefaultSetAttributes method to set the attributes for a named file.

 

Parameters:

SFTPSessionInfo - contains the information about the current SFTP session.
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 method returns an error.
Attributes - object, that specifies the modified attributes to be applied.
Error - returns the information about an error that can arise when setting file attributes.

 

See also

OnSetAttributes

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