Remove File

The Remove File activity removes the specified file or directory.

Settings

Field Description
Remove Directory Recursively

When this field is set to true, this activity will delete the entire directory and all its subfolders and files recursively.

Input

The Input tab displays the following fields.

Field Description
fileName

The path and name of the file or directory to remove.

For example: /opt/flogo/filename

Output

The output schema displays the metadata fields of a new file/directory in a read-only format. The metadata object contains fullPath, name, size, mode, modTime, and isDir fields.

Loop

For information on Loop, see the "Using the Loop Feature in an Activity" section in the TIBCO Flogo® Extension for Visual Studio Code User Guide.