Well w/o using a database you could write the directories contents to a
file. Do an initial and place it in a sub dir or something.


Then create a schedule page that take the contents of the initial file you
created and compares it to what is currently in the directory. You could
store the file contents as a list and the cfdirectory as you know is a
query. If there are differences just send out an email to let people know
what the differences are in the same scheduled file and then update the file
to reflect the new directory content.


Optionally you could write an audit file as well that is just for record
keeping.


That is, of course, if you don't want to create a db to store all this jaz
in.


Steve

-----Original Message-----
From: Mickael [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 11:56 AM
To: CF-Talk
Subject: Changes in a Directory CFDIRECTORY


Hello All,

I have a directory where files are getting uploaded (not via CF).  I know
how to get the contents of the directory with CFDIRECTORY how would I get
changes to the directory?  I would like to send an email out to a certain a
group of people when ever a new file is uploaded.

How would I go about this?  

Thanks

Mike

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to