首页 > Linux命令大全 > 文件管理    日期:2020-09-24 / 浏览

lftp是linux中一款ftp服务器,相比windows中的ftp显得要复杂不少了,下面我来总结一下lftp文件上传,文件下载,及文件查找等等相关命令吧。

语法格式: lftpget [参数] [文件]

常用参数:

-c继续先前的下载
-d输出调试信息

参考实例

lftp上传单个文件命令:

[root@linuxcool ~]# lftp webmaster@linuxprobe.com:/> put test.txt

lftp上传多个文件命令:

[root@linuxcool ~]# lftp webmaster@linuxprobe.com:/> mput *.txt

选择某个目录下某种扩展名的下载:

[root@linuxcool ~]# lftp webmaster@linuxprobe.com:/usr/local> mget *.php

断点续传功能:

[root@linuxcool ~]# lftp webmaster@linuxprobe.com:/> mget -c ./usr/local /*.*

下载整个目录:

[root@linuxcool ~]# lftp webmaster@linuxprobe.com:/> mirror  /usr/local /

觉得上面的内容有用吗?快来点个赞吧!

点赞() 我要打赏

温馨提示 : 本站内容来自会员投稿以及互联网,所有源码及教程均为作者总结编辑,请大家在使用过程中提前做好备份,以免发生无法预知的错误,源码类教程请勿直接用于生产环境!

 可能感兴趣的文章

1 2 3 4 5