File Exists Activity
The File Exists activity verifies the presence of a specified file on an FTP server. It determines if a file exists at a given path, returning a boolean result indicating its status.
| Field | Description | Requirement |
|---|---|---|
| Connection name | Reference name of the connection to be used. | Optional |
| File name | The full path and name of the file to check for existence. | Required |
| Result variable name | The name of the variable to store the boolean return value. | Optional |
Action Types & Examples
Check File Existence
- Format: boolean
- Example Result:
true
Implementation Examples
Field Setup - Connection name: ${ftpConnection} - File name: /home/Temp/Test/ftpTest.xlsx - Result variable name: fileExist
Execution Parameters (No specific execution parameters are provided for this activity in the raw input.)
Technical Notes
The activity returns a boolean value:
trueif the specified file exists at the given location, andfalseotherwise.