Skip to Content
avatar image
Former Member

Query: Dynamic address in SFTP receiver adapter HCI

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 12, 2017 at 02:43 PM

    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.

    Add comment
    10|10000 characters needed 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

  • Dec 14, 2017 at 09:38 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

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

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 27, 2017 at 03:07 PM

    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

    Add comment
    10|10000 characters needed characters exceeded