hi
the size there is the size of a file in the directory c:\inetpub\wwwroot\
so U need to run a loop . this "SpaceAvail" that U have is like a recordset so
U <cfoutput query ="SpaceAvail"> and then iside this have count = count +
SpaceAvail.size </cfoutput> and the outside the cfoutput access the value of
count and indicates the size of the folder U specified.
hope it helps
bye
rever if any questions/clarifications
"Bryan LaPlante" <[EMAIL PROTECTED]> wrote:
> Hey gang,
> Is there any way to get cfdirectory to return the size of a direcotry. I
> have tried it in a recursive loop as well as the code below. It always
> returns 0. Any idea's?
>
>
> <CFDIRECTORY ACTION="LIST"
> DIRECTORY="c:\inetpub\wwwroot"
> NAME="SpaceAvail">
>
> <CFSET diskSpace = spaceAvail.size>
>
> Bryan LaPlante
> 816-347-8220
> [EMAIL PROTECTED]
> http://www.netwebapps.com
> Web Development
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com