标签:
#!/bin/bash file=$1 ip=$2 port=$3 user=$4 pwd=$5 /usr/bin/lftp -p $port $ip <<EOF user $user $pwd set ftp:ssl-auth SSL set ftp:ssl-allow true set ftp:ssl-force true set ftp:ssl-protect-data true set ftp:ssl-protect-list true cd devilfish put $file quit EOF
标签:
原文地址:http://www.cnblogs.com/james6176/p/4482321.html