Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Can anyone suggest me, when there are multiple files in the repository(for ex: XYZ_01FEB,XYZ_02FEB something like this) and i'm using the CSV Parser Read File functionality,how can i make sure my service is reading each file. For example every 5 min the new file will get added to the repository.So how can i read each file here when the naming convention changes(timestamp gets appended to the file eachtime a new file gets placed).
?
You should leverage FileRepository methods in order to list files and act accordingly:
Hi !
I did not get this.
2. Iterate over previous list files
Could you please explain me this still more.May be with some example code. Since the file names are different i'm not able to do this.