99 lines
6.5 KiB
HTML
99 lines
6.5 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="Transfer files using QfileSvr.400" />
|
|
<meta name="abstract" content="The QFileSvr.400 file system provides access to other file systems on remote iSeries servers." />
|
|
<meta name="description" content="The QFileSvr.400 file system provides access to other file systems on remote iSeries servers." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzaiqfrmt.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="rzaiqreferencedt5" />
|
|
<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>Transfer files using QfileSvr.400</title>
|
|
</head>
|
|
<body id="rzaiqreferencedt5"><a name="rzaiqreferencedt5"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Transfer files using QfileSvr.400</h1>
|
|
<div><p>The QFileSvr.400 file system provides access to other file systems
|
|
on remote iSeries™ servers.</p>
|
|
<div class="section"><p>The transfer of files in the "root", QOpenSys, QLANSrv, QDLS,
|
|
and QOPT file systems is supported. The transfer of files in the QSYS.LIB
|
|
file systems is not supported.</p>
|
|
<p>You must use stream mode (MODE S) and
|
|
file structure (STRUCT F). For example, in <a href="#rzaiqreferencedt5__FIGQFILESV">Figure 1</a>,
|
|
FILE.ABC is transferred to and from three different files systems on system
|
|
AS012 using the QFileSvr.400 file system on system AS009.</p>
|
|
<p>After connecting
|
|
to system AS009, the FTP client subcommands shown in <a href="#rzaiqreferencedt5__FIGDATATFR">Figure 2</a> perform
|
|
the data transfers.</p>
|
|
<div class="note"><span class="notetitle">Note:</span> The user ID and password on systems
|
|
AS009 and AS012 must be the same.</div>
|
|
<div class="fignone" id="rzaiqreferencedt5__FIGQFILESV"><a name="rzaiqreferencedt5__FIGQFILESV"><!-- --></a><span class="figcap">Figure 1. QFileSvr.400
|
|
file system example</span><pre> ________________________________________________________________________
|
|
| |
|
|
| |
|
|
| Client System System |
|
|
| System AS009 AS012 |
|
|
| _________ _________ __________ |
|
|
| | | | | | | |
|
|
| | | PUT | | | root, | |
|
|
| | |-------------->| | |QOpenSys,| |
|
|
| | | |QFileSvr.|<---------->| and | |
|
|
| | | GET | 400 | | QLanSrv | |
|
|
| | |<--------------| | | file | |
|
|
| | | | | | systems | |
|
|
| | | | | | | |
|
|
| |_________| |_________| |_________| |
|
|
| |
|
|
| |
|
|
|_______________________________________________________________________|
|
|
|
|
</pre>
|
|
</div>
|
|
<div class="fignone" id="rzaiqreferencedt5__FIGDATATFR"><a name="rzaiqreferencedt5__FIGDATATFR"><!-- --></a><span class="figcap">Figure 2. Subcommands to transfer files using QFileSvr.400</span><pre> ________________________________________________________________________
|
|
| |
|
|
| |
|
|
| NAMEFMT 1 |
|
|
| LCD /CLIENTDIR1 |
|
|
| CD /QFileSvr.400/AS012/FLSDIR |
|
|
| PUT FILE.ABC |
|
|
| GET FILE.ABC /CLIENTDIR2/FILE.ABC |
|
|
| CD /QFileSvr.400/AS012/QOpenSys/FLSDIR |
|
|
| PUT FILE.ABC |
|
|
| GET FILE.ABC /CLIENTDIR2/FILE.ABC (REPLACE |
|
|
| CD /QFileSvr.400/AS012/QLANSrv/NWS/LANSRV/DSK/K/FLSDIR |
|
|
| PUT FILE.ABC |
|
|
| GET FILE.ABC /CLIENTDIR2/FILE.ABC (REPLACE |
|
|
| SYSCMD RMVLNK '/CLIENTDIR2/FILE.ABC' |
|
|
| DELETE /QFileSvr.400/AS012/FLSDIR/FILE.ABC |
|
|
| DELETE /QFileSvr.400/AS012/QOpenSys/FLSDIR/FILE.ABC |
|
|
| DELETE /QFileSvr.400/AS012/QLANSrv/NWS/LANSRV/DSK/K/FLSDIR/FILE.ABC |
|
|
| QUIT |
|
|
| |
|
|
| |
|
|
|_______________________________________________________________________|
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiqfrmt.htm" title="Before you begin to transfer files, you must choose the appropriate file transfer type.">Data transfer methods</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |