ftp -n -i $HOST <<FIN user $USER $PASSWD hash bin lcd $LOCALDIR cd $DIR put $FILE close quit FIN