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

146 lines
8.6 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-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="SITE (Send Information Used by a Server System)" />
<meta name="DC.Relation" scheme="URI" content="rzaiqserversu.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqftpwbi.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqfdrt.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqrzaiqfdrtu.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqlist.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqfdrt.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqrzaiqfdrtu.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqsscsc.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="rzaiqsitet" />
<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>SITE (Send Information Used by a Server System)</title>
</head>
<body id="rzaiqsitet"><a name="rzaiqsitet"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">SITE (Send Information Used by a Server System)</h1>
<div><div class="section"><h4 class="sectiontitle">FTP server subcommand</h4><p>To send information that is
used by the server system or to provide services specific to the server system,
use the SITE FTP server subcommand in this format:</p>
<div class="figborder"><p>SITE [ <em>parameters</em>]</p>
</div>
<p>iSeries™ FTP
server supports these parameters for the SITE subcommand:</p>
<dl><dt class="dlterm">LISTFMT 0</dt>
<dd>The server returns information for the LIST subcommand in LIST Information
in iSeries format,
which was introduced in V3R1M0. The iSeries client supports both the iSeries format
and the UNIX-style format.</dd>
<dt class="dlterm">LISTFMT 1</dt>
<dd>The server returns information for the LIST subcommand in LIST information
in UNIX-style format. The name of the file is the last item of each line returned.
The iSeries client
supports both the iSeries format and the UNIX-style format.</dd>
<dt class="dlterm">LISTFMT</dt>
<dd>Return a message that indicates the current FTP server LISTFMT setting.<div class="note"><span class="notetitle">Notes:</span> <p>If you want to change the LISTFMT default
on the server, then use the LISTFMT option of the CHGFTPA command. You can
also use iSeries Navigator
to set this FTP server property:</p>
<ol><li>In iSeries Navigator,
expand <span class="menucascade"><span class="uicontrol">your iSeries server</span> &gt; <span class="uicontrol">Network</span> &gt; <span class="uicontrol">Servers</span> &gt; <span class="uicontrol">TCP/IP</span></span>.</li>
<li>In the right pane, right-click <span class="uicontrol">FTP</span> and select <span class="uicontrol">Properties</span>.</li>
<li>Click the <span class="uicontrol">Initial Formats</span> tab.</li>
<li>Under the <span class="uicontrol">File List</span> heading, enable iSeries or UNIX<sup>®</sup> as
the LISTFMT default on the server.</li>
<li>Click <span class="uicontrol">OK</span> to accept the changes.</li>
</ol>
</div>
</dd>
</dl>
<dl><dt class="dlterm">NAMEFMT 0</dt>
<dd>Use the LIBRARY/FILE.MEMBER name format. This name format is only for
library file system database files.</dd>
<dt class="dlterm">NAMEFMT 1</dt>
<dd>Use the path name format. This name format is for all file systems that
are supported by FTP that includes the library file system. Name format 1
must be used to work with all iSeries file systems other than the library
file system.</dd>
<dt class="dlterm">NAMEFMT</dt>
<dd>Return a message that contains the current server file name format.<div class="note"><span class="notetitle">Note:</span> You
can configure the iSeries FTP server the default NAMEFMT setting with
the NAMEFMT option of the CHGFTPA command.</div>
</dd>
<dt class="dlterm">CRTCCSID *CALC</dt>
<dd>New database files created during ASCII file transfers use the related
default EBCDIC CCSID of the ASCII file transfer CCSID.</dd>
<dt class="dlterm">CRTCCSID *USER</dt>
<dd>New database files created during ASCII file transfers use the current
job CCSID. If this CCSID is 65535, the default CCSID is determined by the
language id that specifies the current job.</dd>
<dt class="dlterm">CRTCCSID *SYSVAL</dt>
<dd>New database files created during ASCII file transfers use the CCSID that
was specified by the QCCSID system value.</dd>
<dt class="dlterm">CRTCCSID [CCSID-number]</dt>
<dd>Specify the CCSID when creating database files on the client during ASCII
file transfers. The server validates this value.</dd>
<dt class="dlterm">CRTCCSID</dt>
<dd>Display a message that contains the current FTP client CRTCCSID setting.</dd>
<dt class="dlterm">NULLFLDS 0</dt>
<dd>The server does not allow transfer of database files that contain NULL
fields. This is the default.</dd>
<dt class="dlterm">NULLFLDS 1</dt>
<dd>The server allows transfer of database files that contain NULL fields.<div class="note"><span class="notetitle">Note:</span> Transfer
of files that contain NULL fields requires both the client and server to have
this setting enabled. If the server transfers a file that contains NULLfields
to a non-iSeries server, or if the transfer type results in codepage conversion
of the data, then results are unpredictable.</div>
</dd>
<dt class="dlterm">NULLFLDS</dt>
<dd>Return a message that indicates the current FTP server NULLFLDS setting.</dd>
<dt class="dlterm">TRIM 0</dt>
<dd>Set Trim option to OFF. The server sends trailing blanks of database records.</dd>
<dt class="dlterm">TRIM 1</dt>
<dd>Set Trim option to ON. The server does not send trailing blanks of database
records when transferring database files that use file structure and stream
mode. This is the default.</dd>
<dt class="dlterm">TRIM 2</dt>
<dd>The server does not send trailing blanks of database records for all transfers,
including record structure and block mode.</dd>
<dt class="dlterm">TRIM</dt>
<dd>Returns a message that indicates the current setting of the FTP server
Trim option.<div class="note"><span class="notetitle">Notes:</span> <ol><li>Prior to the availability of this subcommand, trailing blanks of QSYS.LIB
file system records were always removed before transferring the file to the
server system.</li>
<li>TRIM settings do not apply to TYPE I (binary) file transfers. Blanks are
never trimmed for TYPE I file transfers, regardless of the TRIM setting.</li>
</ol>
</div>
</dd>
</dl>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiqserversu.htm" title="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.">File Transfer Protocol server subcommands</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="rzaiqftpwbi.htm" title="You can configure an File Transfer Protocol (FTP) server on the iSeries to support graphical FTP clients, Web browsers, and other Web tools.">Configure FTP servers for graphical FTP clients and Web tools</a></div>
</div>
<div class="relref"><strong>Related reference</strong><br />
<div><a href="rzaiqfdrt.htm">Use the LIST subcommand information in iSeries format</a></div>
<div><a href="rzaiqrzaiqfdrtu.htm">LIST information in UNIX-style format</a></div>
<div><a href="rzaiqlist.htm">LIST (File List)</a></div>
<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>
</div>
</body>
</html>