Subject: [389] problems with on-the-fly compress

From: Philip Kent <[email-masked]>
Date: Sat, 20 Aug 1994 16:30:58 +0100

(The number of repeated Qs which go through this list is crazy.
Does anyone maintain a net-accessible archive of FAQs??)

I've set up all 3 of compress, gzip and GNU tar as defined in
the default ftpconversions file (wu-ftpd version 2.4). The GZIP
and GUNZIP operations work fine, e.g.:

ftp> get README.gz
local: README.gz remote: README.gz
200 PORT command successful.
150 Opening BINARY mode data connection for /bin/gzip.
226 Transfer complete.
920 bytes received in 0.06 seconds (14.97 Kbytes/s)

But COMPRESS and UNCOMPRESS refuse to work, ftpd finds the 
executable file, but the output is null:

ftp> get README.Z
local: README.Z remote: README.Z
200 PORT command successful.
150 Opening BINARY mode data connection for /bin/compress.
226 Transfer complete.

and all I receive is an empty file README.Z .

Is this behaviour familiar to anyone? For reference, this is
my ftpconversions file:

 :.Z: :  :/bin/compress -c -d %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
 :   : :.Z:/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
 :.gz: :  :/bin/gzip -c -d %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

Phillip Kent,
Imperial College,
London.