Skip to Content
avatar image
Former Member

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Aug 30, 2017 at 02:57 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 30, 2017 at 02:52 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 30, 2017 at 02:05 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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
      
      
      
  • avatar image
    Former Member
    Aug 31, 2017 at 01:33 PM

    Hi All,

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

    Regards

    Chandrasekhar B.

    Add comment
    10|10000 characters needed characters exceeded