1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
176 views
by phil-d-8268 (190 points)
I'd like to access the "Host" setting of an FTP Source node so that in mapping code I can use that without having to hard code the machine name again. Is there any way to get that?

1 Answer

0 votes
We have an enhancement slated for a future release that will let you use a Channel Cache or System Variable in the host field for an FTP/SFTP source.  Using this method, you can access that information from within a mapping node by using channelCache.getValue() or qie.getVariable().  Look for enhancement 4448 in the release notes of future releases.

Until that feature is relased, though, there is unfortunately not a way to programatically retrieve the host from the source node.
by jon-t-7005 (8.2k points)
...