Skip to Content
0

SFTP Adapter : Files picking from multiple directories

May 31, 2017 at 06:50 AM

485

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Vadim Klimov May 31, 2017 at 01:04 PM
1

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

Share
10 |10000 characters needed characters left characters exceeded
Iñaki Vila May 31, 2017 at 12:43 PM
0

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/frameset.htm

Regards.

Share
10 |10000 characters needed characters left characters exceeded