方法一:
echo "open 21.244.88.129 user glxtftp glbzuser bin prompt off cd /glxt/DBINFO lcd /tmp put $dblog bye" |ftp -n >/dev/null 2>&1
方法二:
ftp -ivn <<KATE open $1 user $2 $3 cd $4 binary lcd $5 passiv put $6 bye KATE
时间: 2024-10-07 12:24:23
方法一:
echo "open 21.244.88.129 user glxtftp glbzuser bin prompt off cd /glxt/DBINFO lcd /tmp put $dblog bye" |ftp -n >/dev/null 2>&1
方法二:
ftp -ivn <<KATE open $1 user $2 $3 cd $4 binary lcd $5 passiv put $6 bye KATE