Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

File Collector Configuration

...

Attribute Expression to Read Filename

 

 Example Folder and Results in PhixFlow

...

Copying Multiple PhixFlow Objects

 

 

Modified Expression to read just the CSV files

 

...

Mode Ref: 004

Filter by label (Content by label)
showLabelsfalse
max5
spacesHELP71
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "HELP71"
labelskb-how-to-article

...