File Enumerate

Enumerates all files matching the specified criteria in the specified location. Supports local filesystem and UNC paths.

The File Enumerate Node is not executable in Run From Cloud configuration and should instead be run from a DropPoint.

This Node is only available in the 2023 Refresh.

Revision History

2.0.0.0 - Initial Release
2.0.0.1 - Fixed exception: Poll interval too long

Properties

Connection

Type: Connection Input
Provides a Connection and a DropPoint to service the request.

DirectoryPath

Type: String Input
The path to the directory from which files should be listed.

Filter

Type: String Input
The search string to match against the names of files in the path.
Filter can be a combination of literal and wildcard characters, but doesn't support regular expressions.
The following wildcard specifiers are permitted in Filter.
\* (asterisk) Zero or more characters in that position.
? (question mark) Zero or one character in that position.
Characters other than the wildcard are literal characters.
Filter cannot end in two periods .. or contain two periods .. followed by Directory Separator Character, nor can it contain any invalid characters.

FolderDepthLimit

Type: Int32 Input
Specifies to what extent sub-directories should be evaluated. If no input is supplied, defaults to 0, meaning that sub-directory contents is not evaluated. The directory path supplied to the node acts as level 0, and a sub-directory inside the supplied path would be considered level 1.

ReturnFullPath

Type: Boolean Input
When true, the full path to the file will be provided on the FileName output. When false, only the file name will be provided.

FilePath

Type: String Output
Returns the name of each file found in turn.

CurrentRow

Type: Int32 Output
An incrementing counter, returning the index of the current file in the returned list.

TotalRows

Type: Int32 Output
Returns the total number of files which match the supplied criteria.

Remarks

The prefix provided as part of SourcePath determines the file type as follows:

  • [Drive]:\ local filesystem
  • \\ UNC path for network share

Authentication

If you require specific credentials to gain access to a local file or UNC path, change the Windows Service account used by the DropPoint.

See Also

File Compressor
Flat File
File Read
File Write
File Delete
File Copy
File Info
File Move
File Watch