> -----Original Message----- > From: Barney Boisvert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 20, 2005 2:51 PM > To: CF-Talk > Subject: Re: Check for a file in a directory > > > CF scripts only execute based on page requests, either from users or > from scheduled tasks. So CF can't "monitor" a directory for a > specific file, unless you use an event gateway (only in CF7 > Enterprise).
Sort of - even as far back as CF 3.x you could write a template to do this and then schedule it to run every minute. We do this often for uploadable content: the task just checks the directory for new files, if it sees any it adds those files to a Verity search index. Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:203727 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

