lftpget命令 – 下载指定的文件
lftp是linux中一款ftp服务器,相比windows中的ftp显得要复杂不少了,下面我来总结一下lftp文件上传,文件下载,及文件查找等等相关命令吧。
语法格式: lftpget [参数] [文件]
常用参数:
-c继续先前的下载 -d输出调试信息
参考实例
lftp上传单个文件命令:
[root@linuxcool ~]# lftp [email protected]:/> put test.txt
lftp上传多个文件命令:
[root@linuxcool ~]# lftp [email protected]:/> mput *.txt
选择某个目录下某种扩展名的下载:
[root@linuxcool ~]# lftp [email protected]:/usr/local> mget *.php
断点续传功能:
[root@linuxcool ~]# lftp [email protected]:/> mget -c ./usr/local /*.*
下载整个目录:
[root@linuxcool ~]# lftp [email protected]:/> mirror /usr/local /
还没有评论,来说两句吧...