<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CFFTP ACTION = &QUOT;LISTDIR&QUOT;</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="Description">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">CFFTP ACTION = &QUOT;LISTDIR&QUOT;</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Description</span>
<p>
To access the columns in a query object, use this tag with action = &quot;listDir&quot;.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Usage</span>
<p>
When you use this action, you must specify a value for the name attribute. This value holds the results of the listDir action in a query object. The query object consists of columns that you can reference, in the form queryname.columname[row], where queryname is the name of the query, specified in the name attribute; and columnname is a column returned in the query object. The value <i>row </i>is the row number of each file/directory entry returned by the listDir operation. A separate row is created for each entry:
</p>

<p>
</p><div align="left">
<table border="1">
  <caption></caption>
  <tr align="center">    <th>&#160;</th>
    <th>&#160;</th>
</tr>
  <tr align="left">    <td>
<p>Name</p></td>
    <td>
<p>Filename of the current element.</p></td>
</tr>
  <tr align="left">    <td>
<p>Path</p></td>
    <td>
<p>File path (without drive designation) of the current element.</p></td>
</tr>
  <tr align="left">    <td>
<p>URL</p></td>
    <td>
<p>Complete URL for the current element (file or directory).</p></td>
</tr>
  <tr align="left">    <td>
<p>Length</p></td>
    <td>
<p>File size of the current element.</p></td>
</tr>
  <tr align="left">    <td>
<p>LastModified</p></td>
    <td>
<p>Unformatted date/time value of the current element.</p></td>
</tr>
  <tr align="left">    <td>
<p>Attributes</p></td>
    <td>
<p>String. Attributes of the current element: normal or Directory.</p></td>
</tr>
  <tr align="left">    <td>
<p>IsDirectory</p></td>
    <td>
<p>Boolean. Whether object is a file or directory.</p></td>
</tr>
  <tr align="left">    <td>
<p>Mode</p></td>
    <td>
<p>Applies only to UNIX and Linux. Permissions. Octal string.</p></td>
</tr>
</table>
</div>
<p>
</p>
<table>
  <tr valign="top">
    <td width="30"><strong>Note: </strong></td>
    <td>Previously supported query column values that pertain to system-specific information are not supported; for example, hidden and system.</td>
  </tr>
</table>
         </td>
      </tr>
   </table>
   </div>

  </body>
</html>
