I have a requirement in which I have to pull only today's files through sender SFTP channel from vendors SFTP server but there are previous date files are in the same directory.
Is there any configuration is sender sftp channel through which I can pull todays files.
I have configured schedules but it keeps getting the files of different dates too.
Help would be really appreciated.
Unfortunately there is no standard way to process only current day's files.
You have to request your 3rd party system to not to place any additional files.
May be you may need to redesign if you want to handle in PI.
With one interface -
Pick all the files
Use enhanced receiver determination to differentiate current days/older files.
Route current day's files to receiver system and older days files back to archive directory of the sender.
Two step approach -
First interface - Pick all files and move then to NFS location ( direct transfer - no mapping)
Second interface - Use Execute OS commands option to pick only current days files. You can write a script and call it from the sender channel.