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

68 lines
4.2 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="LS (List Remote File Names)" />
<meta name="DC.Relation" scheme="URI" content="rzaiqclientsu.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqdir.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqcd.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiqdir.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="rzaiqls" />
<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>LS (List Remote File Names)</title>
</head>
<body id="rzaiqls"><a name="rzaiqls"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">LS (List Remote File Names)</h1>
<div><div class="section"><h4 class="sectiontitle">FTP client subcommand</h4><div class="figborder"><p>LS [ <em>name</em>] [(Disk]</p>
</div>
<dl><dt class="dlterm">name</dt>
<dd>The remote directory, file, or library that you want to list. If the remote
system is an iSeries™ server,
the server lists the file names and its members. The default is to list the
entire current directory, library, or folder. To change the current directory,
library, or folder, use the CD subcommand. The remote file specification is
system dependent.</dd>
<dt class="dlterm">(Disk</dt>
<dd>Stores the results of the LS subcommand in the file <samp class="codeph">*</samp> <samp class="codeph">CURLIB/LSOUTPUT.LSOUTPUT</samp>,
instead of showing the results on the display. Each time you specify the (Disk
parameter with the same <samp class="codeph">*</samp>CURLIB, the server changes the contents
of the LSOUTPUT.LSOUTPUT member file.</dd>
</dl>
<div class="note"><span class="notetitle">Note:</span> If the FTP server returns a negative reply code (550),
then there will be no LSOUTPUT member. If the FTP server returns a positive
reply code (150) without any file names, then an LSOUTPUT member with no records
will result.</div>
<p>The LS subcommand lists the file names only. To get
a list of complete directory entries with additional information about the
files, see <a href="rzaiqdir.htm#rzaiqdir">DIR (List Directory Entries, Libraries, or Files)</a>.</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="rzaiqdir.htm">DIR (List Directory Entries, Libraries, or Files)</a></div>
<div><a href="rzaiqcd.htm">CD (Change Working Directory or Library)</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>