List Directory
Lists the contents of a given directory
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
if ContinueOnError property is true, no error is caught when the project is executed even if Catch node is used.
Input
- Directory Path - The path of the directory that will be listed
- Name Filter - Regex input for filtering files inside the directory (e.g.
.*pdf
)
Output
- Files - Files that exist in the given directory path.
A file object is comprised of name, isDir and size fields.
files : [{
name: "Untitled.xslx",
isDir: false,
size: 1551724597
}]
Options
- Sort Type - Type for sorting the listed files.
- Ascending - Sorts the files ascending order by name
- Descending - Sorts the files descending order by name
- Last Modified - Sorts the files ascending order last by modified date
- Earliest Modified - Sorts the files descending order by last modified date