lftp sophisticated command line file transfer program (ftp, http, sftp, fish, torrent)
yum install lftplftp
## 创建一个新链接
open -p <port> -u <user> <host>## 下载单个文件
get <file>
## 下载多个文件
mget <file1> <file2>
## 多线程下载
pget -n <thread> <file>
## 断点续传 -c
get -c <file>
## 下载整个目录
mirror -c -P <thread> <remote> <local>## 上传单文件
put <file>
## 上传多个文件
mput <file>
## 上传本地目录到ftp服务器
mirror -R <local> <remote>
cd #切换 FTP 目录
lcd #切换本地目录
ls #列出 FTP 目录文件
!ls #列出本地目录文件