Hi there,
I am trying to digest multiple CSV files from within a certain directory. To do this, I have created a CSV Reader that has a Source CSV folder with the parameter: _"<my file path>\\*.csv"_.
I need to remove the processed file from this directory after processing which I would do via python shutdown script by getting the filename that has to be removed (actually - it would be moved into a directory).
In the past when I only processed one file, I was able to grab the file location directly from the reader, which is of course now the <filepath>*.csv .
I have used an Attribute-Exposer to get the filename- but I haven't figured out how to use it in my shutdown script? Am I missing something obvious here? Is there a way to either:
- set a Python variable with the filename (I would be surprised)
or
- set a publish parameter at run-time?
Thanks in advance!