90 lines
5.6 KiB
HTML
90 lines
5.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="PUT (Copy a File Member from the Local System to a File on a Remote System)" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqclientsu.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqget.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqmput.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqctsdfl.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqsunique.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqcsaq.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqcsubcs.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqmput.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqget.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqmget.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqctsdfl.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqcslarf.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="rzaiqput" />
|
|
<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>PUT (Copy a File Member from the Local System to a File on a Remote
|
|
System)</title>
|
|
</head>
|
|
<body id="rzaiqput"><a name="rzaiqput"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">PUT (Copy a File Member from the Local System to a File on a Remote
|
|
System)</h1>
|
|
<div><div class="section"><h4 class="sectiontitle">FTP client subcommand</h4><div class="figborder"><p> PUT <em>localfile</em> [<em>remotefile</em>]</p>
|
|
</div>
|
|
<dl><dt class="dlterm">localfile</dt>
|
|
<dd>The name of a local library system file member, save file, document, or
|
|
other file.</dd>
|
|
<dt class="dlterm">remotefile</dt>
|
|
<dd>The name of the delivered file on the remote system. If you do not specify
|
|
the remote file name, the FTP server provides a default name. If a remote
|
|
file with the same name already exists, then the server replaces the contents
|
|
with the contents of the local file unless Store Unique (SUNIQUE) is on.</dd>
|
|
</dl>
|
|
<p>To send a file to the remote system, you must have a defined
|
|
current working directory with write privileges.</p>
|
|
<p>This example uses the
|
|
PUT subcommand to transfer a file member:</p>
|
|
<pre> PUT MYLIB/MYFILE.MYMBR (NAMEFMT = 0)</pre>
|
|
<p>This
|
|
sends member MYMBR of file MYFILE in library MYLIB to the remote system.</p>
|
|
<p>This
|
|
example sends the document PCSMENU.EXE of folder QIWSOS2 in the document library
|
|
services file system to the remote system.</p>
|
|
<pre> PUT /QDLS/QIWSOS2/PCSMENU.EXE (NAMEFMT = 1)</pre>
|
|
<div class="note"><span class="notetitle">Note:</span> If
|
|
the remote file name requires apostrophes as part of the file name, then you
|
|
must enclose the file name within two more sets of apostrophes. The following
|
|
example sends <samp class="codeph">'MEMBER.ONE'</samp> as the file name to the remote
|
|
host.<pre> PUT LIBRARY/FILE.MEMBER 'MEMBER.ONE'</pre>
|
|
</div>
|
|
</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="reltasks"><strong>Related tasks</strong><br />
|
|
<div><a href="rzaiqcsaq.htm" title="You can use either a single quotation mark (') or quotation marks (") to enclose parameters from this topic.">Enclose subcommand parameters</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="rzaiqget.htm">GET (Copy a File from a Remote System to the Local System)</a></div>
|
|
<div><a href="rzaiqmput.htm">MPUT (Send Multiple File Members from the Local System to a Remote System)</a></div>
|
|
<div><a href="rzaiqctsdfl.htm" title="You can use default source and target file names for some subcommands; however, you must specify a file name for other subcommands.">File names for client-transfer subcommands</a></div>
|
|
<div><a href="rzaiqsunique.htm">SUNIQUE (Control Overwriting of Files)</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><a href="rzaiqmget.htm">MGET (Copy Multiple Files from a Remote System to the Local System)</a></div>
|
|
<div><a href="rzaiqcslarf.htm" title="Use the localfile and remotefile parameters to transfer data.">Naming files for transfer</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |