IPWorks SSH 2020 JavaScript Edition

Questions / Feedback?

FileAttributes Property

The attributes of the RemoteFile .

Syntax


async  getFileAttributes(): SFTPFileAttributes;

 setFileAttributes(fileAttributes: SFTPFileAttributes): void;

Default Value

Remarks

When FileAttributes is polled, the class will request all known permissions for the file specified by RemoteFile from the SSHHost. To modify the attributes of the file on the server, you may set FileAttributes or any field of the existing object, then call UpdateFileAttributes.

This property is not available at design time.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 JavaScript Edition - Version 20.0 [Build 8501]