cancel
Showing results for 
Search instead for 
Did you mean: 

File not picked up using Filename scheme via SFTP sender channel.

Former Member
0 Kudos

Hi All,

We are using SAP SFTP sender channel and noticed a strange issue. Our is SAP PI 7.4 SP12.

A file with name File_Header_20160812.xml is in the folder.

In the channel when we use File_Header*.xml or File_Header* or File_Header*.* it does not work.

It only works if I hardcode the file name as File_Header_20160812.xm.

Any idea what might be the issue. Seems more like a channel issue.

Thanks,

Shaibayan

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

Ryan is correct.

You can refer the below discussion additionally

SFTP sender adapter filename in regular expression | SCN

Ryan-Crosby
Active Contributor
0 Kudos

Hi Shaibayan,

The way it works in the SFTP adapter is based on regular expressions in Java instead of simply having * as a wild card.  If you want a simple expression that will pick up the file that you have you can use:

File_Header.* or File_Header.*xml

If you want to make sure you are checking the extension then use the second option otherwise you can use the first.

Regards,

Ryan Crosby