Skip to Content
1

Query: Dynamic address in SFTP receiver adapter HCI

Dec 12, 2017 at 09:13 AM

179

avatar image
Former Member

Hi All

I know we can do dynamic directory and file name in SFTP receiver adapter in HCI but i want to know if there is a possibility to put IP Address or hostname dynamically as well.

Regards

Naina

q.png (21.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

avatar image
Former Member
Dec 12, 2017 at 02:43 PM
0

Hello Naina,

Yes. You can Externalize the Address. There are 2 ways of doing it.

1) follow the pattern {{< user defined name>}} for e.g {{SFTP_Server}} , Once you save the iflow , same will be available from Externalized paramter section.

2) On Model Configuration Right Click outside the process, There is an option called "Extract Parameters" which will give tell us all possible parameters that can be externalized.

Regards,

Kiran.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

HI Kiran

Thanks for your reply

But i dont want to hardcode the address even in external parameters section, i want to take it out in a field dynamically after mapping, how to do that.


Naina

0
Morten Wittrock Dec 14, 2017 at 09:38 AM
0

Hi Naina

If you take a look at the Camel FTP component documentation, especially the Message Headers section, you will find a CamelFileHost header. I don't know if it's supported in Cloud Integration, though, and I cannot test it at the moment, so you need to experiment with it a bit.

Looking forward to hearing about your results.

Regards,

Morten

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

thanks Morten

Will try and let you know

1
avatar image
Former Member Dec 27, 2017 at 05:40 AM
0

Hi Morten

This is where you are suggesting camel parameters, but for private key alias and credentials i coudnt see anything matching hence a new question

Naina

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 27, 2017 at 03:07 PM
0

I solved my dynamic external paramter issue

kindly refer below link for solution


https://answers.sap.com/questions/390429/externalize-parameters-how-to-fetch-value-dynamica.html?childToView=391240#comment-391240

Regards

Naina

Share
10 |10000 characters needed characters left characters exceeded