On Thu, 2003-03-13 at 07:55, Douglas, Stuart wrote:
> Hi all,
>
> I was hoping to find a way to do this directly via an ftp daemon, but it looks like
> I'll need an external program. I want to find a way to have my ftp server watch a
> specific directory for any new file uploads and send an e-mail to a specified
> account when any occur. Anyone have any ideas on how this might best be done?
>
> Thanks in advance for your help!
>
> Stuart
have you looked at fam?
from man fam:
DESCRIPTION
fam is a server that tracks changes to the filesystem and
relays these changes to interested applications. Applica�
tions such as fm(1G) and mailbox(1) present an up-to-date
view of the filesystem. In the absence of fam, these
applications and others like them are forced to poll the
filesystem to detect changes. fam is more efficient.
Applications can request fam to monitor any files or
directories in any filesystem. When fam detects changes
to monitored files, it notifies the appropriate applica�
tion. The FAM API provides a programmatic interface to
fam; see fam(3X).
Bret
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list