cancel
Showing results for 
Search instead for 
Did you mean: 

SFTP Adapter : Files picking from multiple directories

Former Member
0 Kudos

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

Regards,

Sailaja Y.

+91 9542432384

Accepted Solutions (0)

Answers (2)

Answers (2)

vadimklimov
Active Contributor

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).

Regards,

Vadim

iaki_vila
Active Contributor
0 Kudos

Hi Sailaja,

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

https://help.sap.com/saphelp_nw-secure-connect102/helpdata/en/8b/11483856d04f6b9c7bf378ecd1670c/fram...

Regards.