Skip to Content
avatar image
Former Member

SFTP Adapter : Files picking from multiple directories

Hi Experts,

I have a requirement to pick files from multiple directories through Sender SFTP adapter. For this, I have checked Additional files option and have mentioned the additional directory name and file type. But SFTP adapter is not detecting the additional directory and not giving any error too. Could you please help me with this issue. I am in SAP PI 7.3


Sailaja Y.

+91 9542432384

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 31, 2017 at 01:04 PM

    Hello Sailaja,

    You can use functionality available upon activation of a checkbox "Advanced Source File Selection" in SFTP sender channels, that allows specification of additional folders from where it shall poll files - in this way, you can configure the single channel to poll from multiple directories (check official reference to this feature here). In SAP Community, there are examples of how this feature is used in File adapter (check them here and here) - in SFTP adapter, this functionality is configured and works in a very similar way.

    Additional files functionality in SFTP adapter is used for a different purpose: in contrast to advanced source file selection (where files from multiple directories are polled and processed as individual messages), enabled additional files functionality leads to creation of attachments for the originally created message (where main payload is picked up from the original file, and message attachments are formed on basis of additional files).



    Add comment
    10|10000 characters needed characters exceeded

  • May 31, 2017 at 12:43 PM

    Hi Sailaja,

    AFAIK is not supported, all the files must be in the same directory:


    Add comment
    10|10000 characters needed characters exceeded