It is often useful to read a local or network directory and populate a PhixFlow stream with the names of the files. This can be used as a reference list for subsequent processing and can also form the basis of a duplicate detection pattern, ensuring that files are not processed more than once. The examples below show how to read the entire folder contents, as well as just specific file types.
The model for these examples is 004 Read a List of Files in a Directory
Example 1: Read all files
...
Modified Expression to read just the CSV files
...
Mode Ref: 004
Related articles
Filter by label (Content by label) | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...