cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP

manigram
Active Participant
0 Kudos

Hi Team,

I have to pick a xml file from SFTP server, File Name: OrderHeader_23_20140218_130616Z.xml.

In FTP we can give file name as Order*.xml, so it will pick all those files begins with Order.

If i give the same in SFTP it's not working.

Please suggest me.

Regards,

Manigandan

Accepted Solutions (1)

Accepted Solutions (1)

former_member184720
Active Contributor
0 Kudos

Hi Manigandan - Just FYI.. for SAP's SFTP adpater you need to configure the file name pattern using the regular expression.

so as already suggested try with "Order.*\.xml"

You can test your regular expression with the below utility. Have a look at the below screenshot.

Answers (4)

Answers (4)

Bhargavakrishna
Active Contributor
0 Kudos

Hi Manigandan,

please refer the SAP note : 1645844  missing authorization check

Do you have the role " SAP_XI_CONFIG_FILE_OS_CMD_J2EE " to authorize you to define operating system commands.

Regards

Bhargava krishna

Former Member
0 Kudos

Hello,

Try below file name pattern in (SAP standard) sftp adapter and then check?

OrderHeader_*\.xml

Thanks

Amit Srivastava

Bhargavakrishna
Active Contributor
0 Kudos

Hi Manigandan,

please share the error screen shot..

Refer the below document and check the configuration / authorization you have given for sender SFTP adapter once again..

https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/305eeb5b-81e7-2f10-d8aa-9216de04ca3e&overrid...

Regards

Bhargava krishna

robert_warde4
Active Participant
0 Kudos

What version of PI and what SFTP adapter are you using?

Regards

Rob