Manpages

NAME

cftp − Comfortable FTP, a full-screen FTP client running on ASCII-terminals

SYNOPSIS

cftp {-h|-V}

cftp [-p PORT] [-u USER] [-s] {HOST|ALIAS} [DIRECTORY]

cftp URL

DESCRIPTION

cftp is used to transfer files from one computer to another via the FTP protocol. Its advantages compared to most standard FTP clients is its full-screen representation of the remote directory tree, providing a compact overview of the remote server’s contents.

Supported are FTP both with active and passive data connections, IPv4 and IPv6, and SFTP (a file transfer protocol using SSH for authorization and connection encryption).

OPTIONS

-h, --help

Print a overview about available options

-V, --version

Display version number

-p, --port PORT

Specify port

-u, --user USER

Specify user

-s, --sftp

Use sftp

BROWSING

cftp understands the basic motion keys for both vi/less and GNU Emacs, as well as cursor keys. Browse through the FTP tree up and down using the cursor keys or ’k’(up) and ’j’(down). Enter a directory or download a file by pressing ’cursor right’, ’l’ or ENTER. Go back to parent directory by hitting ’cursor left’ or ’h’.

KEYS

Most useful keys are listed below. Press ’H’ in cftp for more keys

t

Tag selected file

D

Get tagged files

H

Help

M

Mkdir on remote-host

a

Set mode a (ASCII)

i

Set mode i (BINARY)

g

Change directory

j

Down

k

Up

RETURN

Get

p

Put

q

Exit cfp

COMMANDS

Press ’H’ for details. By typing ’:’, you enter the command-mode, where you can enter one of the following commands:

exit

Exit cftp

version

Display version number of cftp

redraw

Redraw screen

show-name

Show name of file under cursor

help

Display help

lcd

Change directory on local host

shell

Shell escape

colon

Execute cftp command

deidle

Deidle connection (send ’NOOP’, resets idle time)

site

Send site specific command

reconnect

Reconnect to server

response

Display dialog with server

mkdir

Create directory on server

rmdir

Remove directory on server

prefix

Prefix digit

bind

Bind key

set

Set option

down

Move cursor N lines down (default: 1)

up

Move cursor N lines up (default: 1)

page-down

Move N screens down (default: 1)

page-up

Move N screens up (default: 1)

goto

Goto line N (default: last)

FILES

~/.cftp

On startup cftp reads the file .cftprc (in your home directory) if it exists. It contains cftp functions invocations (optionally with arguments), just as in the ’bind’ function. Put cftp commands in it which you want to be executed every time cftp starts. Not all functions are allowed in .cftprc, however. For details see info page of cftp.

~/.netrc

In addition to its own config file ~/.cftprc, cftp scans your ~/.netrc file for access information (see info page for more information):

machine HOST login USER password PASSWD
macdef init
cd STARTDIR

AUTHOR

This man-page was written by Dennis Stampfer <seppy [AT] debian.org> based on the info page of cftp.

SEE ALSO

For more information, see the info page of cftp.