From owner-freebsd-hackers Mon Dec 20 13:29:48 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from donhm.calcasieu.com (dread.austin.texas.net [206.127.24.91]) by hub.freebsd.org (Postfix) with ESMTP id 66E4214E59 for ; Mon, 20 Dec 1999 13:29:43 -0800 (PST) (envelope-from dread@donhm.calcasieu.com) Received: (from dread@localhost) by donhm.calcasieu.com (8.9.3/8.9.3) id PAA21724; Mon, 20 Dec 1999 15:29:20 -0600 (CST) (envelope-from dread) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 20 Dec 1999 15:29:19 -0600 (CST) From: Don Read To: David Miller Subject: RE: Alternate ftpd? Cc: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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