look the example:
#!/bin/bash
cd /home/wwwroot/home.com/
FTPSERVER=’60.87.34.19′;
FTPUSER=’ftpusesr’
FTPPASSWD=’******’
ftp -n -v $FTPSERVER << EOT
binary
user $FTPUSER $FTPPASSWD
prompt
cd images
put asset_system.swf
put kitchen.swf
put main.swf
put config.xml
bye
EOT
Jerry
不错,呵呵
正在找一个类似的例子