@Colin
I tried using the exec the only thing I'm able to do with the exec node is login with a script I created. I can't get it to send the file that is generated or even a local file. I added an example below.
[{"id":"1a0af27c98972ded","type":"tab","label":"Flow 4","disabled":false,"info":"","env":[]},{"id":"e2e8ea3dedd31583","type":"debug","z":"1a0af27c98972ded","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":846,"y":182,"wires":[]},{"id":"ad51c3d49b418c4f","type":"exec","z":"1a0af27c98972ded","command":"","addpay":"payload","append":"","useSpawn":"true","timer":"10","winHide":false,"oldrc":false,"name":"","x":686,"y":222,"wires":[["e2e8ea3dedd31583"],["7d881bc0eb5753d6"],["cdeee90cd7ab2b36"]]},{"id":"7d881bc0eb5753d6","type":"debug","z":"1a0af27c98972ded","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":846,"y":222,"wires":[]},{"id":"cdeee90cd7ab2b36","type":"debug","z":"1a0af27c98972ded","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":846,"y":262,"wires":[]},{"id":"2657fa74e1dd43f3","type":"function","z":"1a0af27c98972ded","name":"put file","func":"\n\ninsert = \"put C:/EDI/810/703354_20221021.txt 703354_20221021.txt\"\nmsg.payload = insert\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":530,"y":240,"wires":[["ad51c3d49b418c4f"]]},{"id":"c142a8fa94a0ffcf","type":"inject","z":"1a0af27c98972ded","name":"Send Default Operation","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":340,"y":240,"wires":[["2657fa74e1dd43f3"]]},{"id":"0dced579041eea1e","type":"function","z":"1a0af27c98972ded","name":"login","func":"\n\ninsert = \" ftp -n -s:ftp_script.txt\"\nmsg.payload = insert\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":530,"y":200,"wires":[["ad51c3d49b418c4f"]]},{"id":"f8a85d1ad1c41d31","type":"inject","z":"1a0af27c98972ded","name":"Send Default Operation","props":[{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":340,"y":200,"wires":[["0dced579041eea1e"]]}]
@dynamicdave
I'm on windows and I'd rather not run a python script just to send files when ftp is already built into windows. This program will be ported to a docker container so I would like there to be less complications to the program if possible