traditional FTP client upload script

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

你可能感兴趣的:(traditional FTP client upload script)