Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 1996 12:24:32 +0200
From:      Michael Beckmann <petzi@zit.th-darmstadt.de>
To:        isp@freebsd.org
Subject:   wu-ftpd and tar
Message-ID:  <v03006f01adcc8d8ea238@[130.83.63.13]>

next in thread | raw e-mail | index | archive | help
Hello,

I have installed the wu-ftpd from /usr/ports on my machine. Everything
works fine. However, I would like all users to be able to use tar and
compression for getting the files, so that for example a user who wants to
get a directory foo can type "get foo.tar.gz" and the server will tar and
gzip it for him. I didn't make this work yet. The manpage for
ftpconversions is very cryptical.

This is what I have in /usr/local/etc/ftpaccess :

compress        yes             local remote
tar             yes             local remote


And this in 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


The respective binaries are in their place.

Has anyone made this work ?

Michael





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