This is what I'm doing when I log into a FTP:
ftp user:password@server ftp: user:password@server: Unknown host ftp> echo HELLO WORLD! ftp> quit
I'd like to do a one-line FTP command…
ftp user:password@server -command "echo HELLO WORLD"
"echo HELLO WORLD" | ftp user:password@server
Something similar… as part of a script I'm trying to create. Nothing is getting transferred, I just need to echo some instructions and this is the easiest way I've found to do it between two of my systems.