Stuart Henderson wrote:

(echo "cd /pub/incoming
put |dmesg dmesg.txt") | ftp -a some.server

I still can't work out how to pipe the output directly through ftp but this is better and less confusing anyway. Thanks for the prod.


Something like

  { echo "put - kalle"; cat; } | ftp -a localhost

could get you going. I was surprised to realize that while it _does_ work when hammering the keyboard, it does _not_ work when piping stuff to it, at least not for me. Maybe you have better luck (and more time) than me. :-)

/Alexander

Reply via email to