File: cftp.1

package info (click to toggle)
cftp 0.12-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 968 kB
  • ctags: 853
  • sloc: ansic: 9,541; sh: 327; makefile: 92
file content (172 lines) | stat: -rw-r--r-- 3,385 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
.\" Man-page written by Dennis Stampfer <seppy@debian.org>
.\" 
.TH cftp 1 "April 2003" Linux "User Manuals"

.SH NAME 
cftp \- Comfortable FTP, a full-screen FTP client running on ASCII-terminals

.SH SYNOPSIS
.B cftp 
{-h|-V}
.PP
.B cftp 
[-p PORT] [-u USER] [-s] {HOST|ALIAS} [DIRECTORY]
.PP
.B cftp 
URL

.SH DESCRIPTION
.B 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.
.PP
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).

.SH OPTIONS
.IP "-h, --help"
Print a overview about available options
.IP "-V, --version"
Display version number
.IP "-p, --port PORT"
Specify port
.IP "-u, --user USER"
Specify user
.IP "-s, --sftp"
Use sftp
      
.SH BROWSING
.B 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'.

.SH KEYS
Most useful keys are listed below.  Press 'H' in 
.B cftp
for more keys
.IP t
Tag selected file
.IP D
Get tagged files
.IP H
Help
.IP M
Mkdir on remote-host
.IP a
Set mode a (ASCII)
.IP i
Set mode i (BINARY)
.IP g
Change directory
.IP j
Down
.IP k
Up
.IP RETURN
Get
.IP p
Put
.IP q
Exit
.B cfp

.SH COMMANDS
Press 'H' for details.  By typing ':', you enter the command-mode, where
you can enter one of the following commands:
.IP exit
Exit cftp
.IP version
Display version number of
.B cftp
.IP redraw
Redraw screen
.IP show-name
Show name of file under cursor
.IP help
Display help
.IP lcd
Change directory on local host
.IP shell
Shell escape
.IP colon
Execute cftp command
.IP deidle
Deidle connection (send 'NOOP', resets idle time)
.IP site
Send site specific command
.IP reconnect
Reconnect to server
.IP response
Display dialog with server
.IP mkdir
Create directory on server
.IP rmdir
Remove directory on server
.IP prefix
Prefix digit
.IP bind
Bind key
.IP set
Set option
.IP down
Move cursor N lines down (default: 1)
.IP up
Move cursor N lines up (default: 1)
.IP page-down
Move N screens down (default: 1)
.IP page-up
Move N screens up (default: 1)
.IP goto
Goto line N (default: last)

.SH FILES
.I ~/.cftp
.RS 
On startup 
.B cftp
reads the file 
.I .cftprc
(in your home directory) if
it exists.  It contains 
.B cftp 
functions invocations (optionally with arguments), just as in the 
`bind' function.  Put 
.B cftp
commands in it which you want to be executed every time 
.B cftp
starts.  Not all functions are
allowed in 
.IR ".cftprc" ","
however. For details see info page of
.B cftp.
.RE
.I ~/.netrc
.RS
In addition to its own config file 
.IR "~/.cftprc" ","
.B cftp
scans your 
.I ~/.netrc
file for access information (see info page for more information):
.PP
machine HOST login USER password PASSWD
.br
macdef init
.br
cd STARTDIR

.SH AUTHOR
This man-page was written by Dennis Stampfer <seppy@debian.org> based on
the info page of
.B cftp.

.SH SEE ALSO
For more information, see the info page of 
.B cftp.
.\" last line