您的位置:首页 > 编程语言 > PHP开发

[工具推荐] FTP 客户端 - yafc

2014-09-02 15:59 183 查看
Linux标准的命令行FTP程序烂的可以了,获取FTP服务器上的目录都无法做到。yafc是一个ftp标准客户端的增强版。

Yafc ( Yet Another FTP Client ) 是一个FTP客户端用来取代标准的FTP程序。其特点包括目录缓存,远程文件名补全,别名,彩色 ls ,递归 get/put/ls/rm,nohup 模式传输,标记(队列),后台下载,等等。

其特点包括:

缓存目录列表
扩展的tab补全
打开多点连接
超时后自动重新连接
别名
彩色 ls
自动登录和书签
Kerberos支持(版本4和5,Heimdal,kth-krb or MIT)
支持SFTP(SSH2,支持.ssh/ config)
递归 get/put/fxp/rm/ls
大文件get或put统计
nohup的方式 get / put
文件标记(队列)为以后传输
收到SIGHUP后自动进入nohup的模式(get和put时)
重定向到本地命令或文件('>','>>'和'|')
代理支持
shell命令变量替换
忽略上传掩码
IPv6支持

网址:www.yafc-ftp.com

开发者:Martin Hedenfalk

许可证:GNU GPL v2

版本号:1.3.4

用法:

$ ls --color (彩显目录和文件)

$ put -r dir (递归上传目录)

临时设置别名:

yafc> alias ls "ls -F --color"

别名保存在config文件中,修改/etc/yafcrc:

alias ls "ls -F --color"

参考:

http://www.solidot.org/story?sid=40916
http://www.linuxlinks.com/article/20140825031841844/FileTransfer.html
http://www.yafc-ftp.com/

命令一览参考:http://yafc.sourceforge.net/manual/Yafc-commands.php

主要命令如下:

3.1.1
!
execute shell command
3.1.2
afslog
obtain remote AFS tokens
3.1.3
alias
create an alias
3.1.4
bookmark
create a bookmark
3.1.5
cache
control directory cache
3.1.6
cat
view a text file
3.1.7
cd
change working directory
3.1.8
cdup
change to parent directory
3.1.9
chmod
change access mode (permissions) of files
3.1.10
close
close connection
3.1.11
copyright
show copyright notice
3.1.12
filetime
print file modification time
3.1.13
flush
flush replies
3.1.14
fxp
transfer files between hosts
3.1.15
get
get files
3.1.16
help
don't panic
3.1.17
idle
modify idle time
3.1.18
kauth
authenticate to Kerberos
3.1.19
kdestroy
destroy Kerberos tickets
3.1.20
klist
list Kerberos tickets
3.1.21
krbtkfile
specify Kerberos ticket file
3.1.22
lcd
change local working directory
3.1.23
list
show raw directory listing
3.1.24
lpwd
print local working directory
3.1.25
ls
show directory listing
3.1.26
ltag
tag local files
3.1.27
luntag
remove files from local taglist
3.1.28
mkdir
create directory
3.1.29
mv
move files
3.1.30
nlist
show filename list
3.1.31
nop
do nothing
3.1.32
open
open a connection
3.1.33
prot
change Kerberos data protection level
3.1.34
put
put files
3.1.35
pwd
print working directory
3.1.36
quit
quit Yafc
3.1.37
quote
send arbitrary FTP command
3.1.38
reopen
reopen active connection
3.1.39
rhelp
remote help
3.1.40
rm
remove files
3.1.41
rmdir
remove empty directory
3.1.42
rstatus
show status
3.1.43
set
show and set variables
3.1.44
shell
execute local shell
3.1.45
site
issue a site specific FTP command
3.1.46
source
read a configuration file
3.1.47
status
show local status
3.1.48
switch
switch between open connections
3.1.49
system
show type of system
3.1.50
tag
tag files
3.1.51
unalias
remove an alias
3.1.52
untag
remove files from taglist
3.1.53
url
print the current FTP url
3.1.54
user
send new user information
3.1.55
version
show Yafc version
3.1.56
warranty
show lack of warranty
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: