Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 1997 22:00:25 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Annelise Anderson <andrsn@andrsn.stanford.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: wu-ftpd doesn't tar or compress
Message-ID:  <Pine.BSF.3.96.970727215859.6107M-100000@localhost>
In-Reply-To: <Pine.BSF.3.96.970726225552.14140A-100000@andrsn.stanford.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Jul 1997, Annelise Anderson wrote:

> I installed the wu-ftpd port (2.2.2-RELEASE) and it runs from
> inetd with the -i, -l, and -a switches.  It is logging to xferlog.
> In ftp/bin I have ls, tar, gzip, and compress, all owned root:ftp
> with 111 permissions.  The directories in ftp are 555.
> 
> In pub I have a directory called junk with some junk files in it,
> but when I log in to the server and type get junk.tar.gz or
> get junk.tar.Z it says "No such file or directory."
> 
> ftpaccess and ftpconversions are in /usr/local/etc; I have not
> modified them.
> 
> There's a statement somewhere that gnu tar is required....is the
> FreeBSD tar gnu tar?  

Yes.

Your ftpconversions file should look like this:

#ftpconverions file
 :.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

And add the following lines to ftpaccess:

compress        yes             all local remote
tar             yes             all local remote


Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
Spam routed to /dev/null by Procmail    | Death to Cyberpromo




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