1CFTP(1) BSD General Commands Manual CFTP(1)
2
4 cftp — Conch command-line SFTP client
5
7 cftp [-B buffer_size] [-b command_file] [-R num_requests] [-s subsystem]
8
10 cftp is a client for logging into a remote machine and executing commands
11 to send and receive file information. It can wrap a number of file trans‐
12 fer subsystems
13
14 The options are as follows:
15
16 -B Specifies the default size of the buffer to use for sending and
17 receiving. (Default value: 32768 bytes.)
18
19 -b File to read commands from, '-' for stdin. (Default value: inter‐
20 active/stdin.)
21
22 -R Number of requests to make before waiting for a reply.
23
24 -s Subsystem/server program to connect to.
25
26 The following commands are recognised by cftp:
27
28 cd path
29 Change the remote directory to 'path'.
30
31 chgrp gid path
32 Change the gid of 'path' to 'gid'.
33
34 chmod mode path
35 Change mode of 'path' to 'mode'.
36
37 chown uid path
38 Change uid of 'path' to 'uid'.
39
40 exit Disconnect from the server.
41
42 get remote-path [local-path]
43 Get remote file and optionally store it at specified local path.
44
45 help Get a list of available commands.
46
47 lcd path
48 Change local directory to 'path'.
49
50 lls [ls-options [path]]
51 Display local directory listing.
52
53 lmkdir path
54 Create local directory.
55
56 ln linkpath targetpath
57 Symlink remote file.
58
59 lpwd Print the local working directory.
60
61 ls [-l [path]]
62 Display remote directory listing.
63
64 mkdir path
65 Create remote directory.
66
67 progress
68 Toggle progress bar.
69
70 put local-path [remote-path]
71 Transfer local file to remote location
72
73 pwd Print the remote working directory.
74
75 quit Disconnect from the server.
76
77 rename oldpath newpath
78 Rename remote file.
79
80 rmdir path
81 Remove remote directory.
82
83 rm path
84 Remove remote file.
85
86 version
87 Print the SFTP version.
88
89 ? Synonym for 'help'.
90
92 cftp by Paul Swartz <z3p@twistedmatrix.com>. Man page by Mary Gardiner
93 <mary@twistedmatrix.com>.
94
96 Report bugs to https://twistedmatrix.com/trac/
97
99 Copyright © 2005-2020 Twisted Matrix Laboratories
100 This is free software; see the source for copying conditions. There is
101 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
102 PURPOSE.
103
104BSD October 8, 2005 BSD