1 ftp -i -v -n $HOST <<END 2 user $USERNAME $PASSWORD 3 cd /ftp 4 mkdir data 5 cd data 6 mput *.tar.gz 7 bye 8 END