Skip to the content.

fho.fileExists

Purpose

This actiontype verifies if a file exists

Use Cases

Fields

Parameter Description Type Mandatory Encrypted
path Path where the file is located string N N
file File to verify string Y N
connection Connection where the file is located string N N

Example 1

  - number: 1
    type: "fho.fileExists"
    name: "Action1"
    description: "Verify file myFile on myPath"
    component: ""
    condition: ""
    iteration: ""
    errorExpected: "N"
    errorStop: "N"
    parameters:
    - name: "path"
      value : "/myPath"
    - name: "file"
      value : "myFile"

Example 2

  - number: 1
    type: "fho.fileExists"
    name: "Action2"
    description: "Verify file myFile on myPath on a different host"
    component: ""
    condition: ""
    iteration: ""
    errorExpected: "N"
    errorStop: "N"
    parameters:
    - name: "path"
      value : "/myPath"
    - name: "flie"
      value : "myFile"
    - name: "connection"
      value : "host.linux.1"