cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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.


Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hi All,

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

Regards

Chandrasekhar B.

PavanKumar
Active Contributor
0 Kudos

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

manoj_khavatkopp
Active Contributor
0 Kudos

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

weberpat
Contributor
0 Kudos

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

0 Kudos

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.

weberpat
Contributor
0 Kudos

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