1 基础知识
FTPS是一种对常用的文件传输协议(FTP)添加传输层安全(TLS)和安全套接层(SSL)加密协议支持的扩展协议
Linux中支持该协议的客户端很多,我们通常使用lftp来完成链接请求。
2 最佳实践
2.1 启动lftp客户端
lftp
可见如下提示,
lftp :~>
2.2 获取命令行帮助
lftp :~> help
可见如下提示,
! (commands) alias [ []] attach [PID]
bookmark [SUBCMD] cache [SUBCMD] cat [-b] cd
chmod [OPTS] mode file... close [-a] [re]cls [opts] [path/][pattern] debug [|off] [-o ]
du [options] exit [|bg] get [OPTS] [-o ] glob [OPTS]
help [] history -w file|-r file|-c|-l [cnt] jobs [-v] [] kill all|
lcd lftp [OPTS] ln [-s] ls []
mget [OPTS] mirror [OPTS] [remote [local]] mkdir [-p] module name [args]
more mput [OPTS] mrm mv
[re]nlist [] open [OPTS] pget [OPTS] [-o ] put [OPTS] [-o ]
pwd [-p] queue [OPTS] [] quote repeat [OPTS] [delay] [command]
rm [-r] [-f] r