User Guide
330 Chapter 17 Managing Files on the Server
<th>Modified</th>
<th>Attributes</th>
<th>Mode</th>
</tr>
<cfoutput query="mydirectory">
<tr>
<td>#mydirectory.name#</td>
<td>#mydirectory.size#</td>
<td>#mydirectory.type#</td>
<td>#mydirectory.dateLastModified#</td>
<td>#mydirectory.attributes#</td>
<td>#mydirectory.mode#</td>
</tr>
</cfoutput>
</table>
</body>
</html>
3Modify the line directory="c:\inetpub\wwwroot\mine"so that it points to a
directory on your server.
4 Save the file as directoryinfo.cfm and view it in your browser.
Note that depending on whether your server is on a UNIX system or a Windows
system, either the Attributes column or the Mode column is empty. Also, you can
specify a filename in the
filter attribute to get information on a single file.