This is a question about a node called node red contrib sftp ssh

I apologize if this is a known issue, but I would like to ask. In this node, remote path and local path can be input using the msg method. However, Host, Username, and Password cannot be passed to the msg method properly. Is this a specification of the node? I don't really understand even after reading the documentation, so if anyone knows more, please let me know.

Can you show us the message you are passing to the node with host, username and password overrides?

The node documentation suggests you can override host with msg.sftp_ssh2_config.host,
username with msg.sftp_ssh2_config.username etc.

Thank you for your reply. If you set the IP address in msg.host and write host in the post field of the sftp node, the following message will be displayed.
error connect address lookup failed for host. Since it says that the host cannot be found, it seems that overwriting is not possible.
I'm wondering why there is no function in the node.
I tried the following.

msg.host
msg.Host

But that's not what was suggested...

Use a change node to set these then pass the msg into the node. Use a debug node to confirm

Thank you for answering. Please let me know if my understanding is correct. Set the following using change node etc. msg.sftp_ssh2_config.host, msg.sftp_ssh2_config.username, msg.sftp_ssh2_config.password. Does that mean that variable will be read by the sftp node? Also, you can skip the next question, but if you know it, please let me know. Do I need to write something in the blank space in the sftp node?

I dont know, i dont use that node. I am simply pointing you in the direction offered by @jbudd

In short, look at the built-in help


probably not - does it not explain that in the built-in help?

I understand why you tried that, you want to tell the node to use msg.host.
Some nodes will let you refer to a message property like that but they use mustache syntax eg {{msg.host}}
There is no indication that this node interprets mustache syntax like that.

As @Steve-Mcl says, probably not. But it's easy enough for you to try it.
Please report your findings so we all know the answer.

You seem to be stuck on the idea that the node does not permit this.
It's a mental block. Step back a bit and read the built-in help:
image