From owner-freebsd-questions@FreeBSD.ORG Sat Apr 25 03:36:59 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A895106566C for ; Sat, 25 Apr 2009 03:36:59 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [66.251.72.79]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5CE8FC13 for ; Sat, 25 Apr 2009 03:36:58 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from nber6.nber.org (nber6.nber.org [66.251.72.76]) by mail2.nber.org (8.14.1/8.13.8) with ESMTP id n3P3FXW6010173 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Fri, 24 Apr 2009 23:15:34 -0400 (EDT) (envelope-from feenberg@nber.org) Received: from nber6.nber.org (localhost [127.0.0.1]) by nber6.nber.org (8.13.7+Sun/8.12.10) with ESMTP id n3P3AIkF026214; Fri, 24 Apr 2009 23:10:18 -0400 (EDT) Received: from localhost (feenberg@localhost) by nber6.nber.org (8.13.7+Sun/8.13.7/Submit) with ESMTP id n3P3AI7U026211; Fri, 24 Apr 2009 23:10:18 -0400 (EDT) X-Authentication-Warning: nber6.nber.org: feenberg owned process doing -bs Date: Fri, 24 Apr 2009 23:10:18 -0400 (EDT) From: Daniel Feenberg To: questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Anti-Virus: Kaspersky Anti-Virus for Sendmail with Milter API 5.6.20, bases: 20090424 #1875576, check: 20090425 clean Cc: Subject: tnftpd, lukemftpd and conversions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2009 03:36:59 -0000 I am trying to get tnftpd or lukemftpd to do the authomatic conversions documented in the man page. I am running 7.1 Release #0. My /var/ftp/etc/ftpd.conf file is only two lines: motd all motd conversion all .Z f . /bin/compress %s and from the motd message I can see that the server is using this configuration file. The compress program has been copied to /var/ftp/bin/compress so it should be available too. However, while I can ftp to localhost and login as anonymous and get the file "test", when I ask for "test.Z" I get only the following messages: get test.Z local test.Z remote test.Z 229 entering Passive mode 550 test.Z: no such file or directory The man page for ftpd.conf says: > If a file to retrieve ends in suffix and a real file (sans suffix) > exists then the output of command is returned instead of the > contents of the file. I also tried the default ftpd, with the same result (although it isn't clear if ftpd supports conversion, there isn't any documentation for the configuration file for ftpd - the included man page is clearly for lukemftpd and the tnftpd page is essentially the same). So I am left with the conclusion that there is something wrong with my ftpd.conf entry, but have found no examples anywhere on the net to guide me. There is supposed to be an example in /usr/share/examples/ but it isn't there (PR 133468). I'd sure like to see it, if anyone has it or another. Daniel Feenberg NBER 617-588-0343 feenberg@nber.org