-rw-r--r-- 1 1000 100 44387 May 18 10:04 xvmain.jpg -rw-r--r-- 1 1000 100 202643 May 18 09:45 xxx.jpeg -rw-r--r-- 1 1000 100 0 May 20 10:01 鲨鱼的故事.txt www.dasixian.com
二、使用方法:
0.简单的用法:lcd 切换本地目录,比如 lcd /opt get 取回一个文件,put 向ftp服务器传文件;
1、获得帮助:
代码:
lftp beinan@192.168.1.2:~> help ! (commands) alias [ []] anon 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 www.Dasixian.com lcd lftp [OPTS] 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 [delay] [command] rm [-r] [-f] rmdir [-f] scache [] set [OPT] [ []] site source user [] version wait [] zcat zmore 大泗县网,www.DaSixian.com
www.Dasixian.com
如果针对lftp的每个命令的帮助,应该是:
lftp beinan@192.168.1.2:~> help 命令
比如
代码:
lftp beinan@192.168.1.2:~> help get
大泗县网,www.DaSiXian.com
用法:
大泗县网,www.DaSiXian.com
get [OPTS] [-o ]
Retrieve remote file and store it to local file . -o specifies local file name (default - basename of rfile) -c continue, reget -E delete remote files after successful transfer -a use ascii mode (binary is the default) -O specifies base directory or URL where files should be placed
# Written in C and has a text interface and a GTK 1.2/2.x interface # Supports the FTP, FTPS (control connection only), HTTP, HTTPS, SSH and FSP protocols # FTP and HTTP proxy server support # Supports FXP file transfers (transferring files between 2 remote servers via FTP) # Supports UNIX, EPLF, Novell, MacOS, VMS, MVS and NT (DOS) style directory listings # Bookmarks menu to allow you to quickly connect to remote sites
一、简介:
在大多发行版都有打包,请到各大发行版的ftp列表中得到,或者在发行版的安装盘中也能得到。lftp是一个命令行式的ftp客户端。对中文支持较好。如果您在linux 的text模式下,要安装zhcon或者cce之类的。
安装:
1、RPM包管理的系统,请到
http://freshrpms.net
http;//rpmfind.net 上查找lftp的最新包,可以用
#rpm -ivh name.rpm
#rpm -Uvh name.rpm 这是升级之用
2、源码包安装举例:lftp-3.2.0.tar.bz2
#tar zxvf lftp-3.2.0.tar.bz2
#cd lftp-3.2.0
#./configure
#make
#make install
3.调用方法:
lftp ftp://用户名:密码@地址
比如:
[beinan@S01~]$lftp ftp://beinan@192.168.1.2
口令:
lftp beinan@192.168.1.2:~>
lftp beinan@192.168.1.2:~>ls
-rw-r--r-- 1 1000 100 44387 May 18 10:04 xvmain.jpg
-rw-r--r-- 1 1000 100 202643 May 18 09:45 xxx.jpeg
-rw-r--r-- 1 1000 100 0 May 20 10:01 鲨鱼的故事.txt www.dasixian.com
二、使用方法:
0.简单的用法:lcd 切换本地目录,比如 lcd /opt
get 取回一个文件,put 向ftp服务器传文件;
1、获得帮助:
代码:
www.Dasixian.com
如果针对lftp的每个命令的帮助,应该是:
lftp beinan@192.168.1.2:~> help 命令
比如
代码:
用法:
大泗县网,www.DaSiXian.com
简介:gftp基于gtk的ftp客户端,大家用的也比较多吧,支持中文目录。如果您的gftp不能支持中文,请升级版本。
# Written in C and has a text interface and a GTK 1.2/2.x interface
# Supports the FTP, FTPS (control connection only), HTTP, HTTPS, SSH and FSP protocols
# FTP and HTTP proxy server support
# Supports FXP file transfers (transferring files between 2 remote servers via FTP)
# Supports UNIX, EPLF, Novell, MacOS, VMS, MVS and NT (DOS) style directory listings
# Bookmarks menu to allow you to quickly connect to remote sites
下载安装:
在各大发行版中,都有gftp的打包,可以用各发行版自带的工具来安装。我只说源码包安装:
评论列表