Tim, I recently did a project for a medialibrary we built that used some similiar functionality.
1) We created a Coldfusion page that compared the contents of the directory to a list in the database and if the file was not in the database automatically moved the file and inserted its name into the database. 2) Regarding the unique name, if the file was the same as an existing file it simply sits in the folder waiting to be renamed. However this rarely happened, because the coldfusion page also counted the number of files and if they exceeded 200, it moved on to the next subfolder. Thanks, Brad Fetter [EMAIL PROTECTED] 503-372-6116 -----Original Message----- From: Vernaillen Tim [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 1:38 AM To: CF-Talk Subject: Need to write Dispatcher! Hello I need to write a dispatcher that polls (continue, every 1 minute or ???) a directory. In this directory, there's always an image and an index file. I need to take those two, give them both a uniqueID-filename (???) and place them in two buffers with the same uniqueID-filename. We're talking about 150000 images/day! Anyone has any proposals how to do or to start at this? How to poll continous a directory or at least every 1 minute? How to give uniqueID-filename? Is this all possible with Coldfusion? Little more complex! This dispatcher has to be also on a fail-over site and when the main side failes, the dispatcher on fail-over site needs to take over, and go on with the whole process (may be a manuel operation). Input directory's and buffers are protected via SRDF-copies, powered on a EMC Symmetrix system, so when the system fails-over, those copies of the directory's (without losing data) can be used! Kind regards, hoping someone has a solution on this. Tim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

