Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 1997 14:46:47 +0200 (SAT)
From:      Khetan Gajjar <khetan@chain.iafrica.com>
To:        questions@freebsd.org
Subject:   Getting wu-ftpd to compress on the fly
Message-ID:  <Pine.BSF.3.96.970414143121.15559F-100000@chain.iafrica.com>

next in thread | raw e-mail | index | archive | help
Hi.

I've been trying to get wu-ftpd to work correctly
for quite a while now to compress-on-the-fly

I've read the man page(s) for ftpd and ftpaccess,
and according to my understanding, what I've
setup should work.

I've statically built tar, gzip, compress
and gunzip (by going to their location(s) in 
/usr/src, and typing make -Dstatic), 
and placed them in ~ftp/bin

I'm including my ftpaccess and ftpconversions
file (the relevant portions).

If someone feels like either mailing me a working
set of binaries from their ~ftp/bin, or 
their ftpaccess or ftpconversions, I would appreciate
it!

Thanks in advance.

--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
--ftpconversions--

--ftpaccess--
class   all   real,guest,anonymous  *

deny    !nameserved	           /usr/local/etc/ftp.broken.dns

limit   all   5   Any              /usr/local/etc/ftp.msg.dead

readme  README*    login
readme  README*    cwd=*

message /etc/ftpmotd		login
message .message                cwd=*

compress        yes             all
tar             yes             all

log commands real,anonymous,guest
log transfers anonymous,real,guest inbound,outbound

passwd-check rfc822 enforce 

shutdown /usr/local/etc/ftp.shutmsg

email khetan@chain.iafrica.com
--ftpaccess--



---
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]





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970414143121.15559F-100000>