#!/bin/bash
/***************************************************************
* Last modified : 2019-09-20
* Description : Upload the file to the FTP server
* Email : shenb@iflybank.com
* ************************************************************/
#REVAL=0
ftp -v -n 192.168.241.130<<EOF
user ftpuser ftpuser
binary
hash
#ftp 服务器路径
cd /home/ftpuser
#本地文件路径
lcd /home/ftp
prompt
mput *
bye
EOF
#删除文件
# cd /home/ftp
# rm -rf *
11-01
723

被折叠的 条评论
为什么被折叠?



