Hello everyone,
I am currently trying to get a list of existing file names inside a folder.
Here are some explanations :
- I have a Path reader which reads existing files in a folder (let's call it folder 1). In this folder, there should be one text file;
- If the text file exists, I use a FeatureReader to read it. This text file contains several paths to other directories (folders 2, 3, …, n).
- Once I extracted those new path, I want to do the same as with the reader : get the names of the existing files inside folders 2,...,n.
For now, I know how to read files from within the Workbench, with a FeatureReader.
But how can I do the exact same thing as the Path reader without using one ? I do not need to read the files right away, I just want to get the names of the files Inside folders 2,...,n.
The idea is to do all those operations in the same fmw script.
Any idea ?