From owner-freebsd-net@FreeBSD.ORG Mon Jul 17 19:17:01 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2B5016A5B2 for ; Mon, 17 Jul 2006 19:17:01 +0000 (UTC) (envelope-from james@infinityprosports.com) Received: from mail1.infinityprosports.com (mail1.infinityprosports.com [67.18.186.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 662FD43D5D for ; Mon, 17 Jul 2006 19:16:52 +0000 (GMT) (envelope-from james@infinityprosports.com) Received: (qmail 49298 invoked by uid 89); 17 Jul 2006 19:16:51 -0000 Received: from unknown (HELO ?192.168.0.157?) (james@infinityprosports.com@209.189.249.98) by mail1.infinityprosports.com with ESMTPA; 17 Jul 2006 19:16:51 -0000 Message-ID: <44BBE21B.8070606@infinityprosports.com> Date: Mon, 17 Jul 2006 14:16:43 -0500 From: James Ryan User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: mi+mx@aldan.algebra.com References: <200607171306.01882.mi+mx@aldan.algebra.com> <200607171427.26699.mi+mx@aldan.algebra.com> In-Reply-To: <200607171427.26699.mi+mx@aldan.algebra.com> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 8bit Cc: isp@freebsd.org, net@freebsd.org Subject: Re: ftpd vs. lukemftpd (forcing FTP-uploaded ...) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 19:17:02 -0000 Mikhail Teterin wrote: > понед╕лок 17 липень 2006 13:51, David J. Orman написав: >> The stock ftp server? > > BTW, what is the stock ftp server on 6-stable? I see two -- ftpd and lukemftpd > and both are installed... > > Is there a web-page with comparision somewhere, perhaps? Thanks! > > -mi > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" I am not aware of a stock FTP server that can accomplish what you are asking for, at least without modifying the source or writing a plug-in of some sort. You may have already thought of this, but my 2-cents is: If you don't mind waiting until the file finishes transferring to examine it, you could 1) turn on verbose logging (ftpd -ll for stock ftpd; other ftp servers have better logging though), 2) log directly to a named pipe, 3) attach a simple script at the other end that determines what the uploaded file is and deletes it accordingly. I would not recommend using ftpd for this; as I recall, and somebody correct me if I am wrong, it does not always log the complete path to an uploaded file. I'd suggest ProFTPd instead; it's CustomLog feature allows you to specify your own log format (like Apache). This means you can make a convenient string to regex, such as "date|user|action|file". Good luck, James -- James Ryan Infinity Pro Sports http://www.infinityprosports.com em: james@infinityprosports.com