on 2023 Jan 06 9:34 AM
Dear Community,
Is there a way we can configure the Archive directory dynamically in SFTP sender adapter?
For Ex: We have a router condition in the flow where we chose processing path based on file being empty or not.
We would like to store empty file in a different archive directory than the one's which are not.
Please suggest
P.S:
I did go through the below blog
https://blogs.sap.com/2020/05/29/cloud-integration-dynamically-configure-the-sftp-receiver-adapter/
..and the relevant one's below
Best Regards
Request clarification before answering.
Hi Rajashekhar,
As far as I know this is not possible, because you have to configure the SFTP Adapter before reading the file itself.
What you could do though would be to use a temporary folder as the archive folder, and then after the first SFTP Adapter just use a second one, which would read from this temporary folder and move the file which you read (use its file-name as the param in the second SFTP Adapter) to where you want to move it.
Hope the idea helps!
BR
Goran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
30 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.