ftp -nv << _END_
open [server]
user [login] [password]
binary
cd ...
put, get, whatever you want
quit
_END_