Get File Attributes
- 已更新2025-07-30
- 閱讀時間為 2 分鐘
Acquires information about a file or directory on an SFTP server. Use the output reference to view or modify the file attributes with the File Attributes node.

Inputs/Outputs
session in
—
session in specifies the session of the SFTP server connection.
remote path
—
remote path specifies the path of the file or directory on the SFTP server.
error in
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
timeout (ms)
—
timeout (ms) specifies the time, in milliseconds, that the VI waits before timing out. A value of –1 indicates to wait indefinitely. The default value is 30000.
session out
—
session out returns a session that stores the configuration and state of an SFTP server connection. Use this session to refer to the SFTP server connection in subsequent VI calls.
file attributes
—
file attributes returns a reference to the information, such as name, size, permissions and modification time, about the file or directory you specify in remote path. Use this reference to refer to these file attributes in subsequent VI calls.
error out
—
error out contains error information. This output provides standard error out functionality. |
session in
—
remote path
—
error in
—
timeout (ms)
—
session out
—
file attributes
—
error out
—