From owner-freebsd-questions Mon Apr 14 07:08:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA15417 for questions-outgoing; Mon, 14 Apr 1997 07:08:29 -0700 (PDT) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA15407 for ; Mon, 14 Apr 1997 07:08:22 -0700 (PDT) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id QAA28691; Mon, 14 Apr 1997 16:08:46 +0200 (MET DST) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.8.5/8.6.9) id QAA27760; Mon, 14 Apr 1997 16:26:21 +0200 (MET DST) From: Christoph Kukulies Message-Id: <199704141426.QAA27760@gilberto.physik.rwth-aachen.de> Subject: Re: Getting wu-ftpd to compress on the fly In-Reply-To: from Khetan Gajjar at "Apr 14, 97 03:26:26 pm" To: khetan@iafrica.com Date: Mon, 14 Apr 1997 16:26:21 +0200 (MET DST) Cc: kuku@gilberto.physik.rwth-aachen.de, questions@freebsd.org Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > On Mon, 14 Apr 1997, Christoph Kukulies wrote: > > >Here: > >compress yes all local remote > >tar yes all local remote > > Ok, now it works locally, but not remotely. > Any ideas ? > /usr/local/etc/ftpconversions: :.Z: : :/bin/gzip -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS : : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS :.gz: : :/bin/gzip -cd %s:T_REG|T_ASCII:O_UNCOMPRESS:GUNZIP : : :.gz:/bin/gzip -9 -c %s:T_REG:O_COMPRESS:GZIP : : :.tar:/bin/tar -c -f - %s:T_REG|T_DIR:O_TAR:TAR : : :.tar.Z:/bin/tar -c -Z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESS : : :.tar.gz:/bin/tar -c -z -f - %s:T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+GZIP /usr/local/etc/ftpaccess: class all real,guest,anonymous * limit all 10 Any /etc/msgs/msg.dead readme README* login readme README* cwd=* message /welcome.msg login message .message cwd=* compress yes all local remote tar yes all local remote log commands real log transfers anonymous,real inbound,outbound shutdown /etc/shutmsg email someone@else ~ftp/bin: gil> ls -l total 526 ---x--x--x 1 ftp wheel 58805 Jul 5 1996 compress ---x--x--x 1 ftp wheel 94208 Nov 6 1995 gzip ---x--x--x 1 ftp wheel 139264 Sep 11 1995 ls ---x--x--x 1 ftp wheel 225280 Nov 6 1995 tar gil> Do you have a ~ftp/etc/passwd (and group) file? like: root:*:0:0:Charlie &:/root:/bin/tcsh bin:*:3:7:Binaries Commands and Source,,,:/:/nonexistent ftp:*:99:99:Anonumous FTP :/usr/ftp:/nonexistent > > --- > Khetan Gajjar [ http://www.iafrica.com/~khetan] > I'm a FreeBSD User! [ http://www.freebsd.org ] > PGP Key [finger khetan@chain.iafrica.com] > UUNet Internet Africa [0800-030-002 & help@iafrica.com] > > -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de