waterye

traditional FTP client upload script

for f in $UPLOADDIR
do
if [ -f $f ]; then
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
ascii
put ${f##*/}
END_SCRIPT
fi
done

当然使用其他ftp client更加方便

http://www.columbia.edu/kermit/ftpscripts.html

posted on 2007-06-17 01:53 waterye 阅读(610) 评论(0)  编辑  收藏 所属分类: Linux


只有注册用户登录后才能发表评论。


网站导航: