The Remove File or Directory activity removes a file or a directory on an SFTP server,
including subdirectories, when configured.
Input variables
Table 1. Remove File or Directory input variables
Variable
Description
sourceHost
Name or IP address of the server containing the files you want to
remove.
sourcePort
Port number to use to communicate with the target server. The default port
number is 22.
sourceFilePath
Full path to the file or directory to remove. To remove multiple files or
directories using a single activity, enter a semicolon-separated list of paths in
this field.
isDirectory
True/false variable that determines if the specified file path is a directory. The default
value for this variable is false.
includeSubfolders
True/false variable that determines if the given directory and all of its subfolders should be
removed. The default value for this variable is false. If the value for this field is false, then the activity can only remove an empty directory. This
field appears when the isDirectory checkbox is
selected.
We use cookies on this site to improve your browsing experience, analyze individualized usage and website traffic, tailor content to your preferences, and make your interactions with our website more meaningful. To learn more about the cookies we use and how you can change your preferences, please read our Cookie Policy and visit our Cookie Preference Manager. By clicking “Accept and Proceed,” closing this banner or continuing to browse this site, you consent to the use of cookies.