Still, that would be a huge pain to do a cfdirectory then count all the
filesizes. yuck! Time consuming, too.

What you need is the ability to get into the underlying OS, which probably
already knows the amount of space you are taking, and have left.

Here, I made a little command-line app for you, it runs on .NET 2.0
http://www.dopefly.com/junk/DriveSizeAvailable.zip
I'ts really fast, takes one parameter, the drive letter, and spits out the
drive space available on the given drive. I made it in 5 minutes, so YMMV,
but it worked for me, even on network drives :)  Oh, .NET 2.0 can be found
via windows update. Windows only (unless you can get it to work on mono)

-nathan strutz
http://www.dopefly.com/


On 4/14/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
>
> ColdFusion 7 has recursion built into cfdirectory I believe. At least I
> think Dave Watts said something along those lines a week or two back.
>
> <!----------------//------
> andy matthews
> web developer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --------------//--------->
>
> -----Original Message-----
> From: Turetsky, Seth [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 14, 2006 8:52 AM
> To: CF-Talk
> Subject: disk size manager
>
>
> We just ran out of disk space on a webserver and finding the culprit
> folder
> is tough.  Since, we don't have direct access to some drives, it would be
> nice to have this running under CF since it can access everything :)
> We wrote a simple file explorer in CF to browse and delete files, but I'd
> like to have it auto-recurse through all of the folders and subfolders
> reporting back large ones.  Is there such an app already in CF?
>
> -seth
>
>
> ============================================================================
> ==
> Please access the attached hyperlink for an important electronic
> communications disclaimer:
>
> http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
>
> ============================================================================
> ==
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237780
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to