加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux简单好用的ftp技术

发布时间:2020-12-13 22:42:29 所属栏目:Linux 来源:网络整理
导读:最近几年linux的图形化有了很大的一个进步,linux命令行虽依然还是他的精髓,但是图形界面确实有的独特的好处。我的linux观念也从命令行开始转变到,只要能即快又好的把活干好就行了。 下面小解几个linux常用ftp客户端的工具: 命令行: 在命令行中ftp命令够
最近几年linux的图形化有了很大的一个进步,linux命令行虽依然还是他的精髓,但是图形界面确实有的独特的好处。我的linux观念也从命令行开始转变到,只要能即快又好的把活干好就行了。

下面小解几个linux常用ftp客户端的工具:

  1. 命令行:

在命令行中ftp命令够资格,很实在。但是他不支持TAB自动补齐,这很让人头大。

那有没一个能补齐的工具呢?他就是lftp、在众多的发行版的iso中都有该软件。
用法:

[[email?protected] ~]# yum search lftp

……………………..省略不分信息

lftp-scripts.noarch : Scripts for lftp

lftp.i686 : A sophisticated file transfer program

[[email?protected] ~]# rpm -qa |grep lftp ##查看是否安装,如果没有安装,mount光盘、rpm –ivh安装即可

lftp-4.0.9-1.el6.i686

[[email?protected] ~]# lftp 192.168.3.200 ##连接服务器

[[email?protected] ~]#lftp 192.168.3.200:/> ? ##查看lftp能使用的命令

!<shell-command> (commands)

alias [<name> [<value>]] bookmark [SUBCMD] cache [SUBCMD]

cat [-b] <files> cd <rdir>

chmod [OPTS] mode file... close [-a]

[re]cls [opts] [path/][pattern] debug [<level>|off] [-o <file>] du [options] <dirs>

exit [<code>|bg] get [OPTS] <rfile> [-o <lfile>]

glob [OPTS] <cmd> <args> help [<cmd>]

history -w file|-r file|-c|-l [cnt] jobs [-v] kill all|<job_no>

lcd <ldir> lftp [OPTS] <site> ls [<args>]

mget [OPTS] <files> mirror [OPTS] [remote [local]] mkdir [-p] <dirs>

module name [args] more <files> mput [OPTS] <files>

mrm <files> mv <file1> <file2> [re]nlist [<args>]

open [OPTS] <site> pget [OPTS] <rfile> [-o <lfile>]

put [OPTS] <lfile> [-o <rfile>] pwd [-p] queue [OPTS] [<cmd>]

quote <cmd> repeat [OPTS] [delay] [command] rm [-r] [-f] <files>

rmdir [-f] <dirs> scache [<session_no>]

set [OPT] [<var> [<val>]] site <site_cmd> source <file>

torrent [-O <dir>] <file> user <user|URL> [<pass>] version

wait [<jobno>] zcat <files> zmore <files>

常用的几个:

!<shell-command> ##使用linux shell的命令

cd <rdir> ##进入ftp服务器的目录

torrent [-O <dir>] <file> ##断点续传

put上传、get下载、mput上传多个文件、mget下载多个文件、rmdir删除目录、退出用bye等。

  1. 图形界面:

(1)图形界面位置下的“连接到服务器”功能:

clip_image002

点击进入以下界面:

clip_image004

(2)选择需要连接的ftp类型进入以下界面:输入ftp服务器的信息点击连接

clip_image006

clip_image008

接下来会打开ftp服务器界面并在桌面产生以下图标:

双击能打开、直到卸载为止。

clip_image010

2.FileZilla客户端:

[[email?protected] 下载]# ls FileZilla_3.7.0.1_i586-linux-gnu.tar.bz2 ##下载的软件

FileZilla_3.7.0.1_i586-linux-gnu.tar.bz2

[[email?protected] 下载]# tar jxvf FileZilla_3.7.0.1_i586-linux-gnu.tar.bz2 -C /usr/local/ ##解压缩并释放

[[email?protected] 下载]# cd /usr/local/FileZilla3/bin/ ##进入filezilla的程序目录

[[email?protected] bin]# ln -s /usr/local/FileZilla3/bin/filezilla /root/桌面 ##在root的桌面添加快捷方式,注意写绝对路径

在root的桌面会产生下图:

clip_image012

双击打开后如下图:

clip_image014

输入ftp服务器信息链接即可、鼠标拖拽,很方便。

不要贪多够用就行,在linux下这几个够用!!

have a nice day!!

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读