MACROMEDIA COLDFUSION 5-DEVELOPING Develop Manual page 350

Table of Contents

Advertisement

330
3
4
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
<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>
Modify the line
directory="c:\inetpub\wwwroot\mine"
directory on your server.
Save the file as
directoryinfo.cfm
Chapter 17 Managing Files on the Server
and view it in your browser.
attribute to get information on a single file.
filter
so that it points to a

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 5

Table of Contents