Re: sysout from ftp script disappearing



can someone tell me how to script ftp in a manner consistant
with my being able to see the output AND save it for posterity?

I haven't tested it, but how about...

# START EXAMPLE
myftp() {
ftp << EOT
open my.server.net
cd public_html
ascii
put my_vim_page.html
put ../.vimrc .vimrc
bye
EOT
}

myftp | tee -a ftp.log

#END EXAMPLE

....Best Regards,
=Adrian=

.



Relevant Pages