#!/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
时间: 2024-10-03 05:06:38