Well, I'm not so cool as to whip up an example, but you could easily use Java to interact with the File System.
Generally it's quite a bit faster at FS stuff than CF (or BD, I'd assume). Heck, I'll go check for a java directory size example... hrm. found some JNDI: JRun and Sun's JNDI FS http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17957 ** I tried to use the java built in stuff to bypass CF's cfdirectory, but doing a file by file check (needed to get folder size) was waaaay slower. Maybe with a FileFilter for directories it would be faster... neh. Nothing as fast as the native OS I bet. I did find a couple of blog posts stating that the java.io.file method of listing the directory was faster than the cfdirectory command, by more than an order of magnitude, so, if you don't need sizes and whatnot (you do, so nix that)... Eh. Much as I dislike it in practice, cfexecute is your friend here I think. :D -ps I did get a working "cfdirectory" via the java.io.file, if anyone is interested, but it's pretty pointless cuz cfdir was 79ms vs. 8765ms for the java only one that tallies folder size (both recursive on same dir). I did like the idea the blogger(something "b"? barry?) had about using the java vs. cfdirectory. Find orphan files faster than with cfdirectory at least. [-= But definitely not file sizes. Bleh! On 4/14/06, Munson, Jacob <[EMAIL PROTECTED]> wrote: > > As someone else mentioned, I think what you need to do is best handled > by the OS. You can probably do something with CF, but it's probably > going to be time consuming and inefficient. If you're on Linux, you can > use the du command in a script, and call this with cfexecute. I'm not > sure if there's anything that handy in Windows land... > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237966 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

