CFxperts:
I have what seems like a very basic routine, copied almost exactly from
the manual:
<CFDIRECTORY DIRECTORY="c:\InetPub\WWWROOT\"
NAME="DirList"
SORT="size DSC">
<CFOUTPUT QUERY="DirList">
<CFIF DirList.Type Is "Dir">
#DirList.Type#
#DirList.Name#
#DirList.Size#
#DirList.DateLastModified#<BR>
</CFIF>
</CFOUTPUT>
It works fine, with one exception: for all of the directories, it
returns a size of 0 bytes; yes, the directories are filled :-) I tried
this on my workstation, which is running PWS, NT 4.0, CF 4.0.1 and on
one of our production servers, which is running Win2k, IIS 5, CF 4.5.1
SP2.
On each machine, the returned information contained the directory name,
type, modified date and size, with each size value being 0 bytes. Both
CF servers have the tag enabled. I'm sure this has a simple explanation,
did I misread/understand how this tag works ? Naturally, it's the
directory size information that I'm most interested in !
Any and all help will be gratefully appreciated ! Thank You.
-Gerry
Gerard T. Pauline
Mgr, Internet/DB Applications
Computer Systems, DoIT
Pace University
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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