Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 1997 16:26:21 +0200 (MET DST)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        khetan@iafrica.com
Cc:        kuku@gilberto.physik.rwth-aachen.de, questions@freebsd.org
Subject:   Re: Getting wu-ftpd to compress on the fly
Message-ID:  <199704141426.QAA27760@gilberto.physik.rwth-aachen.de>
In-Reply-To: <Pine.BSF.3.96.970414152549.15998C-100000@chain.iafrica.com> from Khetan Gajjar at "Apr 14, 97 03:26:26 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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