Id say that a program on the server such as the one I mentioned is the way to go then... read the XML file which contains ONLY the files and dirs (files for now) that have been changed. If you know C# you could also have a DB entry made into a table for the file or dir name..... you do have a lot of options outside of CF.
I am not a JAVA programmer so I do not know if what I am working on in C# is possible in JAVA, but I assume it is... and that might be another avenue to consider. ----- Original Message ----- From: "Stephen Moretti" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, July 30, 2003 7:29 AM Subject: Re: Finding recently modified files in subdirectories > Ok... > > How about CFExecute with > > dir /s /t:w /o:D /A:-D | FIND "30/07/2003" > > You probably going to need to tinker with this to get exactly what you want > and you're still going to have to parse the output, but its pretty quick. > > Just remember that the number of subdirectory is going to be a factor in how > long this processing takes, which ever way you end up coding this. If > you've got hundreds of subdirectories then you're highly unlikely to meet > your 15 second processing limit. > > Regards > > Stephen > > ----- Original Message ----- > From: "Calvin Ward" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Wednesday, July 30, 2003 11:51 AM > Subject: Re: Finding recently modified files in subdirectories > > > > Stephen, > > > > CFDirectory fails the speed consideration, when enumerating sub > directories > > it isn't fast enough, especially when you can't count on Windows 2000 > > delivering a last modified date that is relevant to all files in all > > subdirectories for a given directory. If Win2k did that, then it would be > > quite fast enough as I'd only have to recurse the directories that > contained > > changed items instead of all of them. > > > > In other words, to use CFDirectory, I have to actually traverse every > > directory in the file structure and compare the lastModifiedDate with the > > time frame I'm interested in (say 24 hours). This operation takes roughly > 60 > > seconds, which is entirely too long, when all I'm interested in is the > files > > that were modified in the last day, frequently only about 10 or so. > > > > So, actually there are 3 goals: > > > > 1) has to talk to CFMX > > 2) has to work on win2k > > 3) has to be fast, goal is roughly 10-15 seconds. > > > > :) > > > > - Calvin > > > > ----- Original Message ----- > > From: "Stephen Moretti" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Wednesday, July 30, 2003 6:43 AM > > Subject: Re: Finding recently modified files in subdirectories > > > > > > > > > > > > I'm looking for a way to find all files that were modified in a > > directory > > > and it's subdirectories. > > > > > > > > The trick is that it has to be very fast, and ColdFusion MX has to be > > able > > > to talk to it. Has anyone found such a solution? > > > > > > > > > > > > > Look at CFDirectory. This returns a query set with one of the columns > > being > > > dateLastModified. > > > > > > > > > http://livedocs.macromedia.com/cfmxdocs/CFML_Reference/Tags-pt121.jsp#1097918 > > > > > > Obviously you need to decide how you know when a file was previously > > > modified for this information to be useful, but hopefully this will put > > you > > > on the right track. > > > > > > Stephen > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

