simmerdown
Programmer
I've got a webcam that's archiving photos to a directory on our server: a new photo every 5 minutes, and a unique file name for each photo. I could just have the camera overwrite the existing image file, and point an html page to the constantly-updating image, but then that wouldn't be archiving, would it? Thus I'm back to the images being given unique and regularly incremented numeric file names.
The point/ the question:
Is there a way to have CF determine
1) [COLOR=003366]which file in the directory has the highest-numbered file name?[/color]
or
2) [COLOR=003366]which file has the newest "Last Modified" date?[/color]
or
3) [COLOR=003366][insert better solution here]?[/color]
I'd then need to generate a link to that file.
It's probably something simple, obvious, and common, but I'm stuck. Thanks for any help/suggestions at all.
The point/ the question:
Is there a way to have CF determine
1) [COLOR=003366]which file in the directory has the highest-numbered file name?[/color]
or
2) [COLOR=003366]which file has the newest "Last Modified" date?[/color]
or
3) [COLOR=003366][insert better solution here]?[/color]
I'd then need to generate a link to that file.
It's probably something simple, obvious, and common, but I'm stuck. Thanks for any help/suggestions at all.