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

File directory exists

  • Dark
    Light
  • PDF

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

Label Key Type Required? Default Description
File/directory path path String(local-filesystem-reference) Yes Absolute local filesystem path to the file/directory to test.

Output arguments

Number of outputs: 3

Label Key Type Description
File exists? exists Boolean True/false value determining if the file exists. Available in both outputs.

Events

No events.

Errors

Label Code Description
unknown error unknown Unknown error occurred.

Was this article helpful?