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

83 lines
5.4 KiB
HTML
Raw 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="MPUT (Send Multiple File Members from the Local System to 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="rzaiqsunique.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqmget.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqcsubcs.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqput.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqput.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="rzaiqmput" />
<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>MPUT (Send Multiple File Members from the Local System to a Remote
System)</title>
</head>
<body id="rzaiqmput"><a name="rzaiqmput"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">MPUT (Send Multiple File Members from the Local System to a Remote
System)</h1>
<div><div class="section"><h4 class="sectiontitle">FTP client subcommand</h4><p>To send one or more local
files to the remote system, use the MPUT FTP client subcommand. The client
executes a separate PUT subcommand for each local file you want transferred.
The Default Naming rules create the name of the corresponding remote file.</p>
<div class="figborder"><p>MPut { <em>localfile</em> [localfile...]}</p>
</div>
<dl><dt class="dlterm">localfile</dt>
<dd>Specify one or more local library file system file members or other FTP
supported file system files you want transferred to the remote system. The
client automatically generates the name given to the file on the remote system.</dd>
</dl>
<div class="note"><span class="notetitle">Note:</span> If the remote file already exists, the contents are replaced
by the contents of <em>localfile</em> unless Store Unique (SUNIQUE) is on.</div>
<p>For
information as to how to specify the file if the remote system is an iSeries™, see <a href="rzaiqnamefmt.htm#rzaiqnamefmt">NAMEFMT (Select File Naming Format)</a>. This example uses NAMEFMT 0:</p>
<pre> MPUT MYLIB/FILE1.MBR1 MYLIB/FILE1.MBR2</pre>
<p>This
sends members MBR1 and MBR2 of file FILE1 in library MYLIB to the remote system.</p>
<p>This
example uses NAMEFMT 1:</p>
<pre> MPUT /QDLS/QIWSOS2/PCSMENU.EXE /QDLS/QIWSOS2/PCSMENU2.EXE</pre>
<p>This
sends document PCSMENU.EXE and document PCSMENU2.EXE from folder QIWSOS2 to
the remote system.</p>
<p>You can use an asterisk (<samp class="codeph">*</samp>) to send
all the members in a file. For example, <samp class="codeph">MPUT MYLIB/MYFILE.</samp> <samp class="codeph">*</samp> transfers
all the members of file MYFILE in library MYLIB.</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="rzaiqget.htm">GET (Copy a File from a Remote System to the Local System)</a></div>
<div><a href="rzaiqsunique.htm">SUNIQUE (Control Overwriting of Files)</a></div>
<div><a href="rzaiqmget.htm">MGET (Copy Multiple Files from a Remote System to the Local 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><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="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="rzaiqcslarf.htm" title="Use the localfile and remotefile parameters to transfer data.">Naming files for transfer</a></div>
</div>
</div>
</body>
</html>