Skip to main content
Hi,

 

 

I've asked this question before but never really got to the bottom of how to achieve this.  I have generated a list of filenames within a workbench that I want to select from a directory and then use in later parts of the workflow.

 

 

What is the simplest way to do this?

 

 

Thanks,

If you want to read in the files mid-process, the easiest thing is to have one feature per filename and a FeatureReader where the Dataset parameter is set to an attribute containing the full path of the file.

 

 

Depending on the format of the file, and which version of FME your'e using, you may need to set the transformer to read a static file initially and then go back and change it to an attribute.

Reply