- Documentation
- Activities
- Files & Folders
- Wait For File
Wait until a file appears, or disappears, before carrying on
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
File filePath | file | Required | — | — |
Wait For waitFor | enum | Optional | appear | —appeardisappear |
Timeout (seconds) timeoutSeconds | number | Optional | 60 | — |
Poll Interval (ms) pollIntervalMs | number | Optional | 500 | — |
Output Variable outputVariable | variable | Optional | WaitForFile | — |
Output
$outputVariableObjectWait result. Reference {WaitForFile.found} (boolean, true when the condition was met within the timeout), {WaitForFile.path} (string), or {WaitForFile.waitedMs} (number, how long the wait actually took).
foundBooleanpathStringwaitedMsNumber
Compatibility
WindowsLinuxAttendedUnattended
Related activities
Append Text File
Add text to the end of a text file
Copy File
Copy a file somewhere else, leaving the original where it is
Create File
Create a file, with or without starting text in it
Delete File
Delete a file for good. It does not go to the Recycle Bin
Download from URL
Download a file from a web address and save it to your computer
File Exists
Check whether a file is there