1 <?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html lang="en" xmlns="http://www.w3.org/1999/xhtml">
3 <title>Twisted Documentation: CFTP.1</title>
4 <link href="../howto/stylesheet.css" rel="stylesheet" type="text/css"/>
8 <h1 class="title">CFTP.1</h1>
9 <div class="toc"><ol><li><a href="#auto0">NAME</a></li><li><a href="#auto1">SYNOPSIS</a></li><li><a href="#auto2">DESCRIPTION</a></li><li><a href="#auto3">AUTHOR</a></li><li><a href="#auto4">REPORTING BUGS</a></li><li><a href="#auto5">COPYRIGHT</a></li></ol></div>
14 <h2>NAME<a name="auto0"/></h2>
18 <h2>SYNOPSIS<a name="auto1"/></h2>
20 <p>cftp [<strong>-B</strong><em> buffer_size</em>][<strong>-b</strong><em> command_file</em>][<strong>-R</strong><em> num_requests</em>][<strong>-s</strong><em> subsystem</em>]</p>
22 <h2>DESCRIPTION<a name="auto2"/></h2>
24 <p>cftp is a client for logging into a remote machine and executing commands to send and receive file information. It can wrap a number of file transfer subsystems
27 <p>The options are as follows:
28 <dl><dt><strong>-B</strong></dt><dd>Specifies the default size of the buffer to use for sending and receiving. (Default value: 32768 bytes.)
29 </dd><dt><strong>-b</strong></dt><dd>File to read commands from, '-' for stdin. (Default value: interactive/stdin.)
30 </dd><dt><strong>-R</strong></dt><dd>Number of requests to make before waiting for a reply.
31 </dd><dt><strong>-s</strong></dt><dd>Subsystem/server program to connect to.
36 <p>The following commands are recognised by
38 <dl><dt>cd <u>path</u></dt><dd>Change the remote directory to 'path'.
39 </dd><dt>chgrp <u>gid</u> <u>path</u></dt><dd>Change the gid of 'path' to 'gid'.
40 </dd><dt>chmod <u>mode</u> <u>path</u></dt><dd>Change mode of 'path' to 'mode'.
41 </dd><dt>chown <u>uid</u> <u>path</u></dt><dd>Change uid of 'path' to 'uid'.
42 </dd><dt>exit</dt><dd>Disconnect from the server.
43 </dd><dt>get <u>remote-path</u> [<u>local-path</u>]</dt><dd>Get remote file and optionally store it at specified local path.
44 </dd><dt>help</dt><dd>Get a list of available commands.
45 </dd><dt>lcd <u>path</u></dt><dd>Change local directory to 'path'.
46 </dd><dt>lls [<u>ls-options</u>] [<u>path</u>]</dt><dd>Display local directory listing.
47 </dd><dt>lmkdir <u>path</u></dt><dd>Create local directory.
48 </dd><dt>ln <u>linkpath</u> <u>targetpath</u></dt><dd>Symlink remote file.
49 </dd><dt>lpwd</dt><dd>Print the local working directory.
50 </dd><dt>ls [<u>-l</u>] [<u>path</u>]</dt><dd>Display remote directory listing.
51 </dd><dt>mkdir <u>path</u></dt><dd>Create remote directory.
52 </dd><dt>progress</dt><dd>Toggle progress bar.
53 </dd><dt>put <u>local-path</u> [<u>remote-path</u>]</dt><dd>Transfer local file to remote location
54 </dd><dt>pwd</dt><dd>Print the remote working directory.
55 </dd><dt>quit</dt><dd>Disconnect from the server.
56 </dd><dt>rename <u>oldpath</u> <u>newpath</u></dt><dd>Rename remote file.
57 </dd><dt>rmdir <u>path</u></dt><dd>Remove remote directory.
58 </dd><dt>rm <u>path</u></dt><dd>Remove remote file.
59 </dd><dt>version</dt><dd>Print the SFTP version.
60 </dd><dt>?</dt><dd>Synonym for 'help'.
65 <h2>AUTHOR<a name="auto3"/></h2>
67 <p>cftp by Paul Swartz <z3p@twistedmatrix.com>. Man page by Mary Gardiner <mary@twistedmatrix.com>.
70 <h2>REPORTING BUGS<a name="auto4"/></h2>
72 <p>Report bugs to <em>http://twistedmatrix.com/bugs/</em>
75 <h2>COPYRIGHT<a name="auto5"/></h2>
77 <p>Copyright © 2005-2008 Twisted Matrix Laboratories
78 This is free software; see the source for copying conditions. There is NO
79 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
84 <p><a href="../howto/index.html">Index</a></p>
85 <span class="version">Version: 12.1.0</span>