How to test for existence of file?
Posted on 2004-04-19
Before outputting a link to a file, I want to make sure that file exists. What's the best way to do that?
Using CFFILE to READ the contents into a variable and then testing for a size gt "" on the variable seems to be too much trouble just to see if it exists.