标签:class style tps nbsp down password bash ftp cdir
#!/bin/bash FILENAME=$1 DSTDIR=$2 FTPSRV=ip FTPUSER="user" FTPPWD="password" SRCDIR=‘/auto_U_self‘ FILE1=$1 /usr/bin/ftp -in $FTPSRV <<! user $FTPUSER $FTPPWD cd $SRCDIR lcd $DSTDIR bin mget ${FILE1} quit ! exit 0
标签:class style tps nbsp down password bash ftp cdir
原文地址:http://www.cnblogs.com/crac/p/6648374.html