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

来源:互联网 发布:网络拓扑结构连线最短 编辑:程序博客网 时间:2024/06/07 18:55

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 command3.1.2afslog obtain remote AFS tokens3.1.3alias create an alias3.1.4bookmark create a bookmark3.1.5cache control directory cache3.1.6cat view a text file3.1.7cd change working directory3.1.8cdup change to parent directory3.1.9chmod change access mode (permissions) of files3.1.10close close connection3.1.11copyright show copyright notice3.1.12filetime print file modification time3.1.13flush flush replies3.1.14fxp transfer files between hosts3.1.15get get files3.1.16help don't panic3.1.17idle modify idle time3.1.18kauth authenticate to Kerberos3.1.19kdestroy destroy Kerberos tickets3.1.20klist list Kerberos tickets3.1.21krbtkfile specify Kerberos ticket file3.1.22lcd change local working directory3.1.23list show raw directory listing3.1.24lpwd print local working directory3.1.25ls show directory listing3.1.26ltag tag local files3.1.27luntag remove files from local taglist3.1.28mkdir create directory3.1.29mv move files3.1.30nlist show filename list3.1.31nop do nothing3.1.32open open a connection3.1.33prot change Kerberos data protection level3.1.34put put files3.1.35pwd print working directory3.1.36quit quit Yafc3.1.37quote send arbitrary FTP command3.1.38reopen reopen active connection3.1.39rhelp remote help3.1.40rm remove files3.1.41rmdir remove empty directory3.1.42rstatus show status3.1.43set show and set variables3.1.44shell execute local shell3.1.45site issue a site specific FTP command3.1.46source read a configuration file3.1.47status show local status3.1.48switch switch between open connections3.1.49system show type of system3.1.50tag tag files3.1.51unalias remove an alias3.1.52untag remove files from taglist3.1.53url print the current FTP url3.1.54user send new user information3.1.55version show Yafc version3.1.56warranty show lack of warranty

0 0
原创粉丝点击