ftp -i -n otherhost << EOF -i for "don't prompt before filetransfers"
-n for "don't ask for user/password"
user myname mypassword username and password
mput foo bar put normal ftp comamnds here
EOF
sh and bash scripts:
echo "
user myname mypassword username and password
mput foo bar put normal ftp commands here
" | ftp -i -n otherhost -i for "don't prompt before filetransfers"
-n for "don't ask for user/password"
wget program. Wget is available for download from its homepage.
wget ftp://myname:mypassword@otherhost/foo download foo from otherhost
ncftp suite. Chief (for our purposes) among these are ncftpput and ncftpget.
ncftpput -u myname -p mypassword otherhost . foo upload files ncftpget -u myname -p mypassword otherhost . bar download files
ncftp (it's free, and open source) from its homepage at http://www.ncftpd.com/ncftp