87 lines
3.8 KiB
HTML
87 lines
3.8 KiB
HTML
<?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">
|
|
<head>
|
|
<title>Twisted Documentation: CFTP.1</title>
|
|
<link href="../howto/stylesheet.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
|
|
<body bgcolor="white">
|
|
<h1 class="title">CFTP.1</h1>
|
|
<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>
|
|
<div class="content">
|
|
|
|
<span/>
|
|
|
|
<h2>NAME<a name="auto0"/></h2>
|
|
|
|
<p>cftp </p>
|
|
|
|
<h2>SYNOPSIS<a name="auto1"/></h2>
|
|
|
|
<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>
|
|
|
|
<h2>DESCRIPTION<a name="auto2"/></h2>
|
|
|
|
<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
|
|
</p>
|
|
|
|
<p>The options are as follows:
|
|
<dl><dt><strong>-B</strong></dt><dd>Specifies the default size of the buffer to use for sending and receiving. (Default value: 32768 bytes.)
|
|
</dd><dt><strong>-b</strong></dt><dd>File to read commands from, '-' for stdin. (Default value: interactive/stdin.)
|
|
</dd><dt><strong>-R</strong></dt><dd>Number of requests to make before waiting for a reply.
|
|
</dd><dt><strong>-s</strong></dt><dd>Subsystem/server program to connect to.
|
|
</dd></dl>
|
|
|
|
</p>
|
|
|
|
<p>The following commands are recognised by
|
|
cftp :
|
|
<dl><dt>cd <u>path</u></dt><dd>Change the remote directory to 'path'.
|
|
</dd><dt>chgrp <u>gid</u> <u>path</u></dt><dd>Change the gid of 'path' to 'gid'.
|
|
</dd><dt>chmod <u>mode</u> <u>path</u></dt><dd>Change mode of 'path' to 'mode'.
|
|
</dd><dt>chown <u>uid</u> <u>path</u></dt><dd>Change uid of 'path' to 'uid'.
|
|
</dd><dt>exit</dt><dd>Disconnect from the server.
|
|
</dd><dt>get <u>remote-path</u> [<u>local-path</u>]</dt><dd>Get remote file and optionally store it at specified local path.
|
|
</dd><dt>help</dt><dd>Get a list of available commands.
|
|
</dd><dt>lcd <u>path</u></dt><dd>Change local directory to 'path'.
|
|
</dd><dt>lls [<u>ls-options</u>] [<u>path</u>]</dt><dd>Display local directory listing.
|
|
</dd><dt>lmkdir <u>path</u></dt><dd>Create local directory.
|
|
</dd><dt>ln <u>linkpath</u> <u>targetpath</u></dt><dd>Symlink remote file.
|
|
</dd><dt>lpwd</dt><dd>Print the local working directory.
|
|
</dd><dt>ls [<u>-l</u>] [<u>path</u>]</dt><dd>Display remote directory listing.
|
|
</dd><dt>mkdir <u>path</u></dt><dd>Create remote directory.
|
|
</dd><dt>progress</dt><dd>Toggle progress bar.
|
|
</dd><dt>put <u>local-path</u> [<u>remote-path</u>]</dt><dd>Transfer local file to remote location
|
|
</dd><dt>pwd</dt><dd>Print the remote working directory.
|
|
</dd><dt>quit</dt><dd>Disconnect from the server.
|
|
</dd><dt>rename <u>oldpath</u> <u>newpath</u></dt><dd>Rename remote file.
|
|
</dd><dt>rmdir <u>path</u></dt><dd>Remove remote directory.
|
|
</dd><dt>rm <u>path</u></dt><dd>Remove remote file.
|
|
</dd><dt>version</dt><dd>Print the SFTP version.
|
|
</dd><dt>?</dt><dd>Synonym for 'help'.
|
|
</dd></dl>
|
|
|
|
</p>
|
|
|
|
<h2>AUTHOR<a name="auto3"/></h2>
|
|
|
|
<p>cftp by Paul Swartz <z3p@twistedmatrix.com>. Man page by Mary Gardiner <mary@twistedmatrix.com>.
|
|
</p>
|
|
|
|
<h2>REPORTING BUGS<a name="auto4"/></h2>
|
|
|
|
<p>Report bugs to <em>http://twistedmatrix.com/bugs/</em>
|
|
</p>
|
|
|
|
<h2>COPYRIGHT<a name="auto5"/></h2>
|
|
|
|
<p>Copyright © 2005-2008 Twisted Matrix Laboratories
|
|
This is free software; see the source for copying conditions. There is NO
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<p><a href="../howto/index.html">Index</a></p>
|
|
<span class="version">Version: 10.0.0</span>
|
|
</body>
|
|
</html> |