I was trying to use directory watches to recursively follow directories with over 20k files. It didn't really work; it pretty much missed changes to files really often.
I ended up writing Java code that did what I wanted completely outside of ColdFusion which was easier than I thought. If you need / want to use event gateway I would start by examining source code to directory watcher and think how to make it fit to your requirements. Tero Pikala -----Original Message----- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: 27 March 2007 12:58 To: CF-Talk Subject: Re: Directory Watcher and UNC name? Johnny Le wrote: > > Can the Directory Watcher Event Gateway watch for an UNC Path directory that requires username and password to access? You shouldn't try to log on on the fly from CF, just assign the required permissions to the account CF uses. > Also, I want an event gateway instance to watch multiple directories because we may have hundreds of directories to watch. It would not be practical to add one EG instance for each directory in the CFAdmin. With that many directories to watch, would it put an extreme load on the CF instance? Should I split them to multiple CF instances on the same server or that would not make a difference? How about setting a watcher on the parent dir and enabling recursion? Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273825 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

