File directory exists
  • 18 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

File directory exists

  • Dark
    Light
  • PDF

Article Summary

Checks if a target file/directory exists. If yes, the first output is triggered.

If not, the second output is triggered.

If an error occurred while checking if the file/directory exists, the third output is triggered.

Input arguments

LabelKeyTypeRequired?DefaultDescription
File/directory pathpathString(local-filesystem-reference)YesAbsolute local filesystem path to the file/directory to test.

Output arguments

Number of outputs: 3

LabelKeyTypeDescription
File exists?existsBooleanTrue/false value determining if the file exists. Available in both outputs.

Events

No events.

Errors

LabelCodeDescription
unknown errorunknownUnknown error occurred.

Was this article helpful?