Back to FabImage Studio website

You are here: Start » Filter Reference » System » File System » EnumerateFiles

EnumerateFiles


Module: FoundationLite

Enumerates the files present in a disk directory.

Name Type Description
Input value
inDirectory Directory Input directory
Input value
inExtensions String Allowed extensions separated by semicolon
Input value
inSortingOrder FileSortingOrder Sorting order
Input value
inRepeat Bool Determines whether to repeat reading directory after reading all files
Input value
inProcessSubdirectories Bool Flag indicating whether to enumerate files from the subdirectories or not
Input value
inInvert Bool Flag indicating whether to enumerate files backwards or not
Output value
outFilePath File Output file path
Output value
outFileName String Output file name
Output value
outIsFirst Bool Flag indicating the first iteration
Output value
outIsLast Bool Flag indicating the last iteration

Remarks

Linux

Sorting output by file creation date when running FIL on Linux is not possible due to file system restrictions. When requested to do so EnumerateFiles will throw an exception.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Cannot sort by file creation date on Linux.
DomainError Directory doesn't exist: Directory path
DomainError Empty string is not a valid directory path.

Complexity Level

This filter is available on Basic Complexity Level.