Skip to the content.

fho.fileExists

This action verifies if a file exists.

Use cases

Parameters

1: path

path: "file path location"

2: file

file: "file name to verify"

3: connection

connection: "connection where the file to verify is located"

Examples

  - 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"
  - 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"