71 lines
4.4 KiB
HTML
71 lines
4.4 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="SUNIQUE (Control Overwriting of Files)" />
|
||
<meta name="DC.Relation" scheme="URI" content="rzaiqclientsu.htm" />
|
||
<meta name="DC.Relation" scheme="URI" content="rzaiqmput.htm" />
|
||
<meta name="DC.Relation" scheme="URI" content="rzaiqput.htm" />
|
||
<meta name="DC.Relation" scheme="URI" content="rzaiqcsubcs.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="rzaiqsunique" />
|
||
<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>SUNIQUE (Control Overwriting of Files)</title>
|
||
</head>
|
||
<body id="rzaiqsunique"><a name="rzaiqsunique"><!-- --></a>
|
||
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
<h1 class="topictitle1">SUNIQUE (Control Overwriting of Files)</h1>
|
||
<div><div class="section"><h4 class="sectiontitle">FTP server subcommand</h4><div class="p">SUNIQUE is a separate command
|
||
that has to be issued before the PUT or MPUT. SUNIQUE sets a "mode" (in
|
||
the same manner as NAMEFMT, LISTFMT, and so on.), so that every PUT/MPUT after
|
||
it uses the setting entered on the SUNIQUE subcommand. For example: <pre>FTP> SUNIQUE 1
|
||
FTP> MPUT *.FILES</pre>
|
||
</div>
|
||
<p>If there is no parameter, SUNIQUE acts
|
||
like a toggle switch. The SUNIQUE value changes from 0 (OFF) to 1 (ON) or
|
||
from 1 to 0.</p>
|
||
<p>When there is a parameter, the valid values are:</p>
|
||
<dl><dt class="dlterm">0</dt>
|
||
<dd>Overwrite the file if it exists. This is the default.</dd>
|
||
<dt class="dlterm">1</dt>
|
||
<dd>Create a new file with a unique name on the remote system instead of overwriting
|
||
an existing file. The FTP server on the remote system sends the name of the
|
||
created file back to the user.</dd>
|
||
</dl>
|
||
<div class="note"><span class="notetitle">Note:</span> If the remote system is an iSeries™, the server forms File.Mbr names
|
||
by adding numbers to the end of the of the <em>localfile</em> that you specified
|
||
in the PUT or MPUT subcommand. Thus, if the name <em>NEWFILE.NEWMBR</em> already
|
||
exists on the remote system, the remote iSeries server creates <em>NEWFILE.NEWMBR1</em> and
|
||
writes the data to it.</div>
|
||
<p>File names for other file systems, like HFS,
|
||
work in a similar way. If the name already exists, a new file is created that
|
||
consists of the specified file name and a number suffix. Thus, if the name <em>xfsname</em> already
|
||
exists on the remote system, the remote iSeries creates <em>xfsname1</em>.</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <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 class="relref"><strong>Related reference</strong><br />
|
||
<div><a href="rzaiqmput.htm">MPUT (Send Multiple File Members from the Local System to a Remote System)</a></div>
|
||
<div><a href="rzaiqput.htm">PUT (Copy a File Member from the Local System to a File on a Remote System)</a></div>
|
||
<div><a href="rzaiqcsubcs.htm" title="The File Transfer Protocol (FTP) client subcommands described in this topic make use of syntax conventions:">File Transfer Protocol client syntax conventions</a></div>
|
||
</div>
|
||
</div>
|
||
</body>
|
||
</html> |