Disconnect
- Updated2025-07-30
- 2 minute(s) read
Disconnects from an SFTP server.

Inputs/Outputs
session in
—
session in specifies the session of the SFTP server connection.
error in
—
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality. This node runs normally even if an error occurred before this node runs.
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.
return code
—
return code returns the exit code of the underlying SSH executable. Typically, the value of 0 stands for success and any number from 1 to 255 stands for other conditions.
session out
—
session out returns a session that stores the configuration and state of an SFTP server connection. Use this session to reconnect to the SFTP server and to recover from problems trusting the server identity.
server errors
—
server error returns sideband logging and error information sent by the SFTP server.
error out
—
error out contains error information. This output provides standard error out functionality. |
session in
—
error in
—
timeout (ms)
—
return code
—
session out
—
server errors
—
error out
—