Hi, I am trying to use the FTP server node but are facing a problem.
My flow is as below:
As can be seem the filename is topic of the message.
But whatever I do to extract the filename and remove the "/" results either on some error or undefined.
If I insert a function node before the debug node I can do:
var imgname = msg.topic;
It works as below:
But if I try to remove the "/" from the filename (using replace or substring) nothing happens, no error, no print but I have to restart node-red for the FTP node to work again.
What Am I doing wrong?
Thanks