Hello,
I would like to send csv files to an FTP server. Node-Red is running on a Windows PC. How can I send the locale file to the FTP server with PUT? I want to add a current date before I send the file. How can I do this?
[{"id":"6aa857af.f6ab68","type":"debug","z":"94605fc7.4bb39","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":730,"y":240,"wires":[]},{"id":"e1b2583f.12abf8","type":"inject","z":"94605fc7.4bb39","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"","topic":"","payload":"","payloadType":"str","x":260,"y":240,"wires":[["e5794edc.e090a"]]},{"id":"e5794edc.e090a","type":"function","z":"94605fc7.4bb39","name":"","func":"//???\nmsg.localFilename;\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":420,"y":240,"wires":[["8240390d.941b28"]]},{"id":"8240390d.941b28","type":"ftp in","z":"94605fc7.4bb39","ftp":"c509b3c8.3d2ab","operation":"put","filename":"","localFilename":"","name":"","x":570,"y":240,"wires":[["6aa857af.f6ab68"]]},{"id":"d8a1317f.5848f","type":"file","z":"94605fc7.4bb39","name":"","filename":"E:\\NEU.csv","appendNewline":true,"createDir":false,"overwriteFile":"false","encoding":"utf-16be","x":490,"y":180,"wires":[[]]},{"id":"c509b3c8.3d2ab","type":"ftp","host":"192.168.178.47","port":"21","secureOptions":"","user":"tatest","connTimeout":"","pasvTimeout":"","keepalive":""}]