Delete Directory
- Updated2025-07-30
- 2 minute(s) read
Deletes a directory on an SFTP server. If you want to delete a single file, use the Delete File VI.

Inputs/Outputs
session in
—
session in specifies the session of the SFTP server connection.
path
—
path specifies the path of the directory that you want to delete from 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.
error out
—
error out contains error information. This output provides standard error out functionality. |
session in
—
path
—
error in
—
timeout (ms)
—
session out
—
error out
—