On 19-Dec-99 David Miller wrote:
> Hello all:)
>
> I'm looking for an alternate ftpd which allows me to take certain
> (configurable) actions based on the receipt of certain files. For exmple,
> I want to "process" a tar file full of jpg images upon receipt.
>
> I know there are alternatives. I can run swatch on the log file or
> torture syslog to piping its output into something, but I think these are
> all ugly kludges.
speaking of kludgies, I run a cron job
ash.root# cat check_ftp
#!/bin/sh
cd /root
LIST=`find /usr/ftp/incoming -newer .time.ftp -print`
if [ -n "$LIST" ]
then
echo $LIST | mail -s "new ftp files" root
fi
touch .time.ftp
Regards,
--
Don Read [EMAIL PROTECTED]
EDP Manager [EMAIL PROTECTED]
Calcasieu Lumber Co. Austin TX
-- No Coffee No Peace
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message