Every time the new file is added in the folder with the new name given by the customer. There is no concatenation happening on the file name. Every file has very different name.
I want to pick up the file by the timestamp or the last modified date of the file inside that single folder. So here we need to traverse the folder by last the timestamp and select only that files which are modified lately with whatever name (doesn’t matter).
There’s everyday one file that gets added in the folder so we are trying to build a scheduled package that picks the latest/current files in the folder and loads it into sql db table.
I have built a for-loop to load entire folder but how to use SSIS for loading selective files like by their latest timestamp?
Can anyone help me with this difficulty?
Thank you in advance.