I guess I could use cfdirectory with a filter, that would probably do it.
-----Original Message----- From: Kazmierczak, Kevin [mailto:[EMAIL PROTECTED] Sent: Monday, January 10, 2005 2:17 PM To: CF-Talk Subject: How to get file information? How would one get information on a file from CF? I want to know when the file was last modified. I know I could use cfdirectory and loop over the directory contents and get it that way but that seems like WAY too much work just to get the date on one file. How come you can't use cffile variables on anything but an upload? Wouldn't it be helpful on all cffile actions? They should have a cffile action="readattribs" or something. Is this too much to ask for? Or am I missing something. This is on cf5. I could probably use a java to pull the information on MX, but that isn't an option. Thanks. Kevin. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the mailserver that powers this list at http://www.houseoffusion.com/banners/view.cfm?bannerid=17 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189829 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

