Hi there and welcome
Best to use two files, you make one with the below text
open 18.104.22.168 21
binary put c\test.txt
save this as ftp.txt replace the IP after Open with your IP, and the username and password ***** well as c\test.txt to your path and file
And run it from the .bat file in the same file using the below command in that batch file:
Then you run the batch file and it will upload your file
If you have any problems, or would like any additional information or assistance, please do not hesitate to let me know.
Else if you can take a second to rate my service by clicking one of the stars at the top of the screen then submit, that would be greatly appreciated.