Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
CF-Server
Cold Fusion Server Tech
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Cold Fusion :
product's home
product's list home
 
  Archived TallyList / CF-Server: 
Subject: Re: [CFDIRECTORY.SIZE]
s@njeevi (9p/+0r)     Posted: Monday 19 Mar 2001
This post: 41 views, +0 rating

hi the size there is the size of a file in the directory c:\inetpub\wwwrootso 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" <blaplante@netwebapps.com> 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 > blaplante@netwebapps.com > 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 cf-server-request@houseoffusion.com with 'unsubscribe' in the body or visit the list page at www.houseoffusion.com


Similar Subject Line Posts (+/- two weeks of this post)
Re: cffile error 5  01 Apr 2001   (40 v/ +0 r)
Re: cffile error 5  01 Apr 2001   (50 v/ +0 r)
Re: cffile error 5  31 Mar 2001   (33 v/ +0 r)
cffile error 5  31 Mar 2001   (43 v/ +0 r)
Advanced Security  31 Mar 2001   (34 v/ +0 r)
SSL  31 Mar 2001   (44 v/ +0 r)
RE: CF_DirectoryExplorer  30 Mar 2001   (34 v/ +0 r)
CF_DirectoryExplorer  30 Mar 2001   (35 v/ +0 r)
Re: listing directories  30 Mar 2001   (34 v/ +0 r)
Re: listing directories  30 Mar 2001   (31 v/ +0 r)
listing directories  30 Mar 2001   (28 v/ +0 r)
Re: (Security) Incorrect MIME Header Can Cause IE to Execute E-mail Attachment  30 Mar 2001   (35 v/ +0 r)
RE: (Security) Incorrect MIME Header Can Cause IE to Execute E-ma il Attachment  30 Mar 2001   (33 v/ +0 r)
Re: (Security) Incorrect MIME Header Can Cause IE to Execute E-mail Attachment  30 Mar 2001   (34 v/ +0 r)
RE: ftp & file size problem  30 Mar 2001   (67 v/ +0 r)
Re: ftp & file size problem  30 Mar 2001   (49 v/ +0 r)
ftp & file size problem  30 Mar 2001   (70 v/ +0 r)
(Security) Incorrect MIME Header Can Cause IE to Execute E-mail Attachment  30 Mar 2001   (34 v/ +0 r)
Re: XMLHttp Post  30 Mar 2001   (29 v/ +0 r)
RE: cfmail error  29 Mar 2001   (33 v/ +0 r)
Re: Records, not vinyl.  29 Mar 2001   (36 v/ +0 r)
RE: Records, not vinyl.  29 Mar 2001   (41 v/ +0 r)
Re: Help For Encryption in CF  29 Mar 2001   (34 v/ +0 r)
Re: Help For Encryption in CF  29 Mar 2001   (29 v/ +0 r)
Re: Records, not vinyl.  29 Mar 2001   (37 v/ +0 r)
 

Send a reply to the CF-Server list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000