ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaiq_5.4.0.1/rzaiqserversu.htm

347 lines
18 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="File Transfer Protocol server subcommands" />
<meta name="abstract" content="These subcommands represent communication between the client and server. This topic includes descriptions for iSeries CL-equivalent subcommands that are unique to iSeries FTP server." />
<meta name="description" content="These subcommands represent communication between the client and server. This topic includes descriptions for iSeries CL-equivalent subcommands that are unique to iSeries FTP server." />
<meta name="DC.Relation" scheme="URI" content="rzaiqreference.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqaddm.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqaddv.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqaddv.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqappe.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqauth.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqcrtl.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqcrtp.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqcrts.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqrzaiqscwd.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqdbug.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqrzaiqsdele.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqdltf.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqdltl.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqhelpf.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqlist.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqrzaiqsmkd.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqmodet.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqnlst.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqnoopt.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqpasswd.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqpasv.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqpbsz.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqport.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqprot.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqpwdt.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqquitt.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqrcmd.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqreinsbs.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqrzaiqsretr.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqrzaiqsrmd.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqrnfr.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqrnto.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqsitet.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqstor.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqstou.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqstru.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqsyst.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqtimest.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqtypet.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqusert.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqsscsc.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqftpsrply.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqclientsu.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqclientsu.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiqserversu" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>File Transfer Protocol server subcommands</title>
</head>
<body id="rzaiqserversu"><a name="rzaiqserversu"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">File Transfer Protocol server subcommands</h1>
<div><p>These subcommands represent communication between the client and
server. This topic includes descriptions for iSeries™ CL-equivalent subcommands that
are unique to iSeries FTP
server.</p>
<div class="section"><p>This topic describes FTP server subcommands. The
FTP client communicates with the server using server subcommands. This topic
provides the server subcommands, descriptions of what they do, their syntax
conventions, and FTP reply status messages.</p>
<p>iSeries FTP server uses the subcommands
listed in the following table.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" id="d0e40">Subcommand</th>
<th valign="top" id="d0e42">What it does</th>
</tr>
</thead>
<tbody><tr><td valign="top" headers="d0e40 ">ABOR</td>
<td valign="top" headers="d0e42 ">Cancels the previous subcommand</td>
</tr>
<tr><td valign="top" headers="d0e40 ">ADDM</td>
<td valign="top" headers="d0e42 ">Adds a member to a physical file</td>
</tr>
<tr><td valign="top" headers="d0e40 ">ADDV</td>
<td valign="top" headers="d0e42 ">Adds a member to a variable-length member to a physical file</td>
</tr>
<tr><td valign="top" headers="d0e40 ">APPE</td>
<td valign="top" headers="d0e42 ">Appends data to a specified file</td>
</tr>
<tr><td valign="top" headers="d0e40 ">AUTH</td>
<td valign="top" headers="d0e42 ">Defines the authentication mechanism used for the current FTP session</td>
</tr>
<tr><td valign="top" headers="d0e40 ">CDUP</td>
<td valign="top" headers="d0e42 ">Changes directory to the parent directory</td>
</tr>
<tr><td valign="top" headers="d0e40 ">CRTL</td>
<td valign="top" headers="d0e42 ">Creates a library</td>
</tr>
<tr><td valign="top" headers="d0e40 ">CRTP</td>
<td valign="top" headers="d0e42 ">Creates a physical file</td>
</tr>
<tr><td valign="top" headers="d0e40 ">CRTS</td>
<td valign="top" headers="d0e42 ">Creates a source physical file</td>
</tr>
<tr><td valign="top" headers="d0e40 ">CWD</td>
<td valign="top" headers="d0e42 ">Changes the working directory or library</td>
</tr>
<tr><td valign="top" headers="d0e40 ">DBUG</td>
<td valign="top" headers="d0e42 ">Starts or ends a server trace</td>
</tr>
<tr><td valign="top" headers="d0e40 ">DELE</td>
<td valign="top" headers="d0e42 ">Deletes a file, a member, or a document</td>
</tr>
<tr><td valign="top" headers="d0e40 ">DLTF</td>
<td valign="top" headers="d0e42 ">Deletes a file</td>
</tr>
<tr><td valign="top" headers="d0e40 ">DLTL</td>
<td valign="top" headers="d0e42 ">Deletes a library</td>
</tr>
<tr><td valign="top" headers="d0e40 ">HELP</td>
<td valign="top" headers="d0e42 ">Gets information about FTP server subcommands</td>
</tr>
<tr><td valign="top" headers="d0e40 ">LIST</td>
<td valign="top" headers="d0e42 ">Lists files or directory entries</td>
</tr>
<tr><td valign="top" headers="d0e40 ">MKD</td>
<td valign="top" headers="d0e42 ">Makes a directory</td>
</tr>
<tr><td valign="top" headers="d0e40 ">MODE</td>
<td valign="top" headers="d0e42 ">Specifies a format for data transmission</td>
</tr>
<tr><td valign="top" headers="d0e40 ">NLST</td>
<td valign="top" headers="d0e42 ">Lists the names of files or directories</td>
</tr>
<tr><td valign="top" headers="d0e40 ">NOOP</td>
<td valign="top" headers="d0e42 ">Checks if server is responding</td>
</tr>
<tr><td valign="top" headers="d0e40 ">PASS</td>
<td valign="top" headers="d0e42 ">Sends a password to the server</td>
</tr>
<tr><td valign="top" headers="d0e40 ">PASV</td>
<td valign="top" headers="d0e42 ">Tells the server to passively open the next data connection</td>
</tr>
<tr><td valign="top" headers="d0e40 ">PBSZ</td>
<td valign="top" headers="d0e42 ">Defines the largest buffer protection buffer size to be used for application-level
encoded data sent or received on the data connection</td>
</tr>
<tr><td valign="top" headers="d0e40 ">PORT</td>
<td valign="top" headers="d0e42 ">Identifies the data port on which the client will listen for a connection</td>
</tr>
<tr><td valign="top" headers="d0e40 ">PROT</td>
<td valign="top" headers="d0e42 ">Defines the protection used for FTP data connections</td>
</tr>
<tr><td valign="top" headers="d0e40 ">PWD</td>
<td valign="top" headers="d0e42 ">Displays the current working directory</td>
</tr>
<tr><td valign="top" headers="d0e40 ">QUIT</td>
<td valign="top" headers="d0e42 ">Logs off the user; closes the connection</td>
</tr>
<tr><td valign="top" headers="d0e40 ">RCMD</td>
<td valign="top" headers="d0e42 ">Sends a CL command to an FTP server</td>
</tr>
<tr><td valign="top" headers="d0e40 ">REIN</td>
<td valign="top" headers="d0e42 ">Re-starts a session on a server</td>
</tr>
<tr><td valign="top" headers="d0e40 ">RETR</td>
<td valign="top" headers="d0e42 ">Retrieves data from a server</td>
</tr>
<tr><td valign="top" headers="d0e40 ">RMD</td>
<td valign="top" headers="d0e42 ">Removes a directory</td>
</tr>
<tr><td valign="top" headers="d0e40 ">RNFR</td>
<td valign="top" headers="d0e42 ">Specifies a file to be renamed</td>
</tr>
<tr><td valign="top" headers="d0e40 ">RNTO</td>
<td valign="top" headers="d0e42 ">Specifies a new file name</td>
</tr>
<tr><td valign="top" headers="d0e40 ">SITE</td>
<td valign="top" headers="d0e42 ">Sends information for a server to use</td>
</tr>
<tr><td valign="top" headers="d0e40 ">STAT</td>
<td valign="top" headers="d0e42 ">Gets status information from a server</td>
</tr>
<tr><td valign="top" headers="d0e40 ">STOR</td>
<td valign="top" headers="d0e42 ">Saves data on a server and replaces an existing file</td>
</tr>
<tr><td valign="top" headers="d0e40 ">STOU</td>
<td valign="top" headers="d0e42 ">Saves data on a server but does not replace an existing file</td>
</tr>
<tr><td valign="top" headers="d0e40 ">STRU</td>
<td valign="top" headers="d0e42 ">Specifies the structure of a file</td>
</tr>
<tr><td valign="top" headers="d0e40 ">SYST</td>
<td valign="top" headers="d0e42 ">Prints the name of the OS on the server</td>
</tr>
<tr><td valign="top" headers="d0e40 ">TIME</td>
<td valign="top" headers="d0e42 ">Sets the time-Out value for the FTP server</td>
</tr>
<tr><td valign="top" headers="d0e40 ">TYPE</td>
<td valign="top" headers="d0e42 ">Specifies the file transfer type</td>
</tr>
<tr><td valign="top" headers="d0e40 ">USER</td>
<td valign="top" headers="d0e42 ">Sends a user logon ID to the server</td>
</tr>
<tr><td valign="top" headers="d0e40 ">XCUP</td>
<td valign="top" headers="d0e42 ">Changes to the parent directory</td>
</tr>
<tr><td valign="top" headers="d0e40 ">XCWD</td>
<td valign="top" headers="d0e42 ">Changes to the working directory</td>
</tr>
<tr><td valign="top" headers="d0e40 ">XMKD</td>
<td valign="top" headers="d0e42 ">Creates a directory</td>
</tr>
<tr><td valign="top" headers="d0e40 ">XPWD</td>
<td valign="top" headers="d0e42 ">Displays the current directory or library</td>
</tr>
<tr><td valign="top" headers="d0e40 ">XRMD</td>
<td valign="top" headers="d0e42 ">Removes a directory</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="rzaiqserversu__sftpss"><a name="rzaiqserversu__sftpss"><!-- --></a><h4 class="sectiontitle">Subcommands unique to iSeries FTP server</h4><p>iSeries FTP
server subcommands include a special set of commands that are abbreviated
names of equivalent, but longer, iSeries CL commands. </p>
<p>The
names of these special server subcommands must be four characters in length
to comply with the FTP limits. When the iSeries server receives these subcommands,
the name are interpreted in this way:</p>
<ul><li>ADDM = ADDPFM (Add Physical File Member)</li>
<li>ADDV = ADDPVLM (Add Physical File Variable Length Member)</li>
<li>CRTL = CRTLIB (Create Library)</li>
<li>CRTP = CRTPF (Create Physical File)</li>
<li>CRTS = CRTSRCPF (Create Source Physical File)</li>
<li>DLTF = DLTF (Delete File)</li>
<li>DLTL = DLTLIB (Delete Library)</li>
</ul>
<p>In addition to these specific subcommands, you can use the FTP server
subcommand RCMD to send any CL command to the server.</p>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rzaiqaddm.htm">ADDM (Add Physical File Member)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqaddv.htm">ADDV (Add Physical File Variable Length Member)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqappe.htm">APPE (Append to Existing File)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqauth.htm">AUTH (Authorization)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqcrtl.htm">CRTL (Create Library)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqcrtp.htm">CRTP (Create Physical File)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqcrts.htm">CRTS (Create Source Physical File)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqrzaiqscwd.htm">CWD (Change Working Directory or Library)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqdbug.htm">DBUG (Turn on the FTP Server Trace)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqrzaiqsdele.htm">DELE (Delete File or Document)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqdltf.htm">DLTF (Delete File)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqdltl.htm">DLTL (Delete Library)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqhelpf.htm">HELP (Getting Help from an iSeries Remote Server)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqlist.htm">LIST (File List)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqrzaiqsmkd.htm">MKD (Make Directory)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqmodet.htm">MODE (Set Transfer Mode)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqnlst.htm">NLST (Name List)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqnoopt.htm">NOOP (Obtain Server Response)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqpasswd.htm">PASS (Password)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqpasv.htm">PASV (Use Passive Data Connection)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqpbsz.htm">PBSZ (Protection Buffer Size)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqport.htm">PORT (Data Port)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqprot.htm">PROT (Data Channel Protection Level)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqpwdt.htm">PWD (Display Working Directory or Library)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqquitt.htm">QUIT (End an FTP Server Session)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqrcmd.htm">RCMD (Send a CL Command to an FTP Server System)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqreinsbs.htm">REIN (Reinitialize Session between Systems)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqrzaiqsretr.htm">RETR (Retrieve File)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqrzaiqsrmd.htm">RMD (Remove Directory)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqrnfr.htm">RNFR (Rename From)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqrnto.htm">RNTO (Rename To)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqsitet.htm">SITE (Send Information Used by a Server System)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqstor.htm">STOR (Store File)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqstou.htm">STOU (Store Unique)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqstru.htm">STRU (Specify File Structure)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqsyst.htm">SYST (Identify the Name of the Operating System)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqtimest.htm">TIME (Set Time-Out Values for FTP Server)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqtypet.htm">TYPE (Specify Representation Type)</a></strong><br />
</li>
<li class="ulchildlink"><strong><a href="rzaiqusert.htm">USER (Send a User Logon ID to the Server)</a></strong><br />
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiqreference.htm" title="You can find information about server and client subcommands, File Transfer Protocol (FTP) exit programs, data transfer methods, and more.">File Transfer Protocol reference information</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rzaiqsscsc.htm" title="The File Transfer Protocol (FTP) server subcommands described in this topic make use of syntax conventions:">File Transfer Protocol server syntax conventions</a></div>
<div><a href="rzaiqftpsrply.htm" title="This topic contains access common reply codes and what they indicate.">File Transfer Protocol server reply status messages</a></div>
<div><a href="rzaiqclientsu.htm" title="Use File Transfer Protocol (FTP) client subcommands to establish a connection with a remote FTP server, navigate libraries and directories, create and delete files, and transfer files.">File Transfer Protocol client subcommands</a></div>
</div>
</div>
</body>
</html>