cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP Sender adapter File name with current date

Former Member
0 Kudos

Hi All,

I have a scenario where in,  i have to pick the files based on file naming with current date.

For example, test_20131405.txt. Folder will be having older files. But, the requirement is we need to pick the file which is having current date in file name.

Let me know if this can be possible using Regular expression in SFTP sender adapter.

Regards,

Sreenivas.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member223322
Active Participant
0 Kudos

There is no standard option available for this. But in an ideal scenario, you shouldn't be facing this pblm at all if the CC is picking the files on daily basis or may be you need to have the old files archived on a daily basis.

~Srini

smavachee
Active Contributor
0 Kudos

Though there is no standard option and mechanism available with your requirement, you can approach with below options.

> You can ask third party to move daily files to specific folder and process.

> Can use "Duplicate File Checking", more precisely which prevents reading a file twice.

Refer below help link..

SFTP Adapter

Hope it helps.!

Regards,

Sunil

Bhargavakrishna
Active Contributor
0 Kudos

Hi Srinivas,

for these kind of scenarios,

we have Archive files on SFTP server   or Archive files on PI server option under advanced tab.

so that you can save those files in archive directory for reference.

or

ask the file providers to delete the files if not required.

or

use duplicate file checking option as said by sunil..

Hope it will helpful..

Regards

Bhargava krishna