Skip to Content
0

SAP PI PGP SFTP adapter is not having option “Advanced Selection for Source File"

Aug 30, 2017 at 01:57 PM

45

avatar image
Former Member

Hi,

Recently we installed PI SFTP PGP( Add-on ) with SP2 .We have a requirement where we need to pick multiple files and Exclude some files from the same directory . But instead of option 'Advanced Selection of Source File', it is showing 'Additional file' option. Please find the below screenshot for reference and let me know your inputs to sort-out the issue.

Regards

Chandrasekhar B.


kwid3.jpeg (71.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Pavan Dogiparthy Aug 30, 2017 at 02:57 PM
0

Hi Chandrasekhar,

Please check the SP and patch level of PIB2BSFTP component if not it is not into latest version, update it to latest version.

Regards

Pavan

Share
10 |10000 characters needed characters left characters exceeded
Manoj K Aug 30, 2017 at 02:52 PM
0

Hi Chandra,

SFTP adapter should have both Advanced and Additional file selection i believe you are on lower SP level.

I just did a quick check on my system and i see its present :

Br,

Manoj


sftp.png (3.0 kB)
sftp1.png (4.4 kB)
Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Aug 30, 2017 at 02:05 PM
0

Hi Chandra,

The file name field of the SFTP adapter accepts regular expressions, so you should be able to build whatever file naming scheme you are interested in.

Regards,

Patrick

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Patrick,

Thanks for your quick response.

Please provide me the screenshots for picking Multiple file formats and Exclusion files process with examples.

Regards

Chandrasekhar B.

0
Former Member

Hi Chandra,

The exact regex to be used depends on your requirements. If you share them, I can try to help prepare one. As I don't have a PI system at my proposal right now, I would not be able to test them upfront, though.

If you read up on regular expressions, you should be able to create pretty much any pattern you need.

Example 1: .*\.(txt|csv|xml)
This would process any file that has a txt, csv or xml extension

Example2: [^ABC]*\.(txt|csv)
This would process any txt or CSV file except if the file name contains A, B or C


0
avatar image
Former Member Aug 31, 2017 at 01:33 PM
0

Hi All,

Let me check from my end regarding SP and will update you.

Regards

Chandrasekhar B.

Share
10 |10000 characters needed characters left characters exceeded