RE: Files with Time and date stamps...

2003-09-05 Thread Matt Blatchley
Awesome, thanks. -matt -Original Message- From: Mike Mertsock [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 10:26 PM To: CF-Talk Subject: Files with Time and date stamps... Oof, immediately after postin my reply I realized a potentially much better solution. Will the

Files with Time and date stamps...

2003-09-05 Thread Mike Mertsock
Oof, immediately after postin my reply I realized a potentially much better solution. Will the last modified date/time of the files reflect the date and time mentioned in the filenames? If so, use cfdirectory as I mentioned but specify sort="datelastmodified DESC". Then first record returned wil

Files with Time and date stamps...

2003-09-05 Thread Mike Mertsock
Well the cfdirectory tag works similarly to cfquery, in that it returns a set of query-type records and you can specify fields by which to sort. So try using cfdirectory to list files filtered by *.csv or FILENAME*.csv. And also specify sort="name DESC". This is assuming that the FILENAME part o

Files with Time and date stamps...

2003-09-04 Thread Matt Blatchley
I'm trying to find a particular file in a directory that has a file name similar to 'FILENAME20030803034545.csv'. I'm trying to use FileExists() but I keep running issues with the time, not so much the dateHow do I look for a file that has the most recent date and time. Is there an efficient