Pick Files from multiple sender folders
I have a scenario where the sender folder structure will be in the below format,
TEMP --> OUT --> RECEIPT201015 --> Receipt.csv
TEMP --> OUT --> RECEIPT211015 --> Receipt.csv
TEMP --> OUT --> RECEIPT221015 --> Receipt.csv
The Folder name will be based on the Date stamp and the file name within the folder will remain the same. The requirement is to pick the file from each of these random folders and then delete the folders after the file is picked and sent to target system.
Any help on this would be appreciated.