Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 1999 15:29:19 -0600 (CST)
From:      Don Read <dread@texas.net>
To:        David Miller <dmiller@search.sparks.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   RE: Alternate ftpd?
Message-ID:  <XFMail.991220152919.dread@texas.net>
In-Reply-To: <Pine.BSF.3.96.991219145851.24942B-100000@search.sparks.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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                                 dread@calcasieu.com
EDP Manager                                  dread@texas.net
Calcasieu Lumber Co.                               Austin TX
-- No Coffee   No Peace


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.991220152919.dread>