90 lines
5.8 KiB
HTML
90 lines
5.8 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="GET (Copy a File from a Remote System to the Local System)" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiqclientsu.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiqctsdfl.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiqlcd.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiqcsubcs.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiqmget.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiqput.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiqmput.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzaiqmget.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="rzaiqget" />
|
||
|
<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>GET (Copy a File from a Remote System to the Local System)</title>
|
||
|
</head>
|
||
|
<body id="rzaiqget"><a name="rzaiqget"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">GET (Copy a File from a Remote System to the Local System)</h1>
|
||
|
<div><div class="section"><h4 class="sectiontitle">FTP client subcommand</h4><div class="figborder"><div class="p"><p>Get <em>remotefile</em> [<em>localfile</em>]<br />
|
||
|
[(Replace]</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<dl><dt class="dlterm">remotefile</dt>
|
||
|
<dd>The file that you want to retrieve from the remote system.</dd>
|
||
|
<dt class="dlterm">localfile</dt>
|
||
|
<dd>The local file member, document, or other file you want to create. If
|
||
|
you do not specify a local file name, the FTP client provides a default name.
|
||
|
For information about the default names, see Default file names for client
|
||
|
transfer subcommands.</dd>
|
||
|
<dt class="dlterm">( Replace</dt>
|
||
|
<dd>Writes over the localfile if it already exists. The server does not overwrite
|
||
|
the localfile unless you specify (Replace.</dd>
|
||
|
</dl>
|
||
|
<p>The file system in which the file resides determines which
|
||
|
file name format you use with the GET subcommand.</p>
|
||
|
<ul><li>If the file does not reside in the library file system (QSYS.LIB), you
|
||
|
must use the GET subcommand in name format (NAMEFMT) 1: <pre>GET /QDLS/QIWSOS2/PCSMENU.EXE</pre>
|
||
|
</li>
|
||
|
<li>If the file resides in the library file system, use the GET subcommand
|
||
|
and the name format (NAMEFMT) set to 0: <pre>GET YOURLIB/YOURFILE.YOURMBR (REPLACE</pre>
|
||
|
<p>Assuming
|
||
|
that the remote server is an iSeries™, this command gets the YOURMBR of YOURFILE
|
||
|
in YOURLIB and places it in YOURMBR of YOURFILE in your current directory
|
||
|
on your local system. For more information about defining the current directory,
|
||
|
see <a href="rzaiqlcd.htm#rzaiqlcd">LCD (Change Working Library or Directory on Local System)</a>.</p>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<div class="note"><span class="notetitle">Note:</span> If the remote file name requires apostrophes as part of the file
|
||
|
name, then enclose the file name within two more sets of apostrophes. The
|
||
|
following example gets <samp class="codeph">'MEMBER.ONE'</samp> from the remote host.
|
||
|
See <a href="rzaiqcsaq.htm#rzaiqcsaq">Enclose subcommand parameters</a> for more information. <pre>GET 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="relref"><strong>Related reference</strong><br />
|
||
|
<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="rzaiqlcd.htm">LCD (Change Working Library or Directory on 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="rzaiqmget.htm">MGET (Copy Multiple Files from a Remote System to the Local 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="rzaiqmput.htm">MPUT (Send Multiple File Members from the Local System to a Remote 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>
|