>From CFusion Docs for CFDIRECTORY:
<HTML>
<HEAD>
<TITLE>
CFDIRECTORY Example
</TITLE>
</HEAD>
<BODY>
<H3>CFDIRECTORY Example</H3>
<!--- use CFDIRECTORY to give the contents of the
snippets directory, order by name and size
(you may need to modify this path) --->
<CFDIRECTORY DIRECTORY="c:\inetpub\wwwroot\cfdocs\snippets"
NAME="myDirectory"
SORT="name ASC, size DESC">
<!--- Output the contents of the CFDIRECTORY as a CFTABLE --->
<CFTABLE QUERY="myDirectory">
<CFCOL HEADER="NAME:"
TEXT="#Name#">
<CFCOL HEADER="SIZE:"
TEXT="#Size#">
</CFTABLE>
</BODY>
</HTML>
-----Original Message-----
From: Steve Vosloo [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 5:37 AM
To: CF-Talk
Subject: file size
Is there any way to dynamically display the size of a file?
I display lists of PDF links and need to show the size of each file after
the title. Although all the pdf's are in the same folder, they are linked to
from various pages.
Thanks,
Steve
Development Manager
Vardus Internet Solutions (SA)
Tel: (+27) 21 670 9880
Fax: (+27) 21 674 4549
Email: [EMAIL PROTECTED]
Website: www.vardus.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists