cancel
Showing results for 
Search instead for 
Did you mean: 

To pull todays files through sender SFTP

Former Member
0 Kudos

Hi,

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.

Thanks

Sarada

Accepted Solutions (0)

Answers (2)

Answers (2)

Bhavani_Baisani
Participant
0 Kudos

please refer the below link

http://scn.sap.com/thread/3337579

former_member184720
Active Contributor
0 Kudos

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.