Problem
The file /etc/ftpconv details how to handle certain file types extensions:
# @(#)ftpconv 95.3 00/10/29
#
# See ftpconv(SFF) for details.
#
#strip prefix:strip postfix:addon prefix:addon
postfix:external command:
#types:options:description
:.Z: : :/usr/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
:-z: : :/usr/bin/compress -d -c %s:T_REG|T_ASCII:O_UNCOMPRESS:UNCOMPRESS
: : :.Z:/usr/bin/compress -c %s:T_REG:O_COMPRESS:COMPRESS
: : :.tar:/usr/bin/tar crf - %s:T_REG|T_DIR:O_TAR:TAR
: : :.tar.Z:/tmp/sb_sh -c '/usr/bin/tar crf - %s |
/usr/bin/compress':T_REG|T_DIR:O_COMPRESS|O_TAR:TAR+COMPRESSIn particular, if you are ftp'ing to a server from a
client with this configuration file and you have, for
example, a file called "test" then if you add the
extension ".tar", ie. "get test.tar", rather than simply
"get test" then the file will be tar'ed for you at the
recipient end. Similarly, for "get test.Z" then the file
will be compressed and a "get test.tar.Z" will tar and
compress the file.The same also applies to a directory structure if "tar" is used.
On OpenServer 5.0.5 this will function correctly.
For OpenServer 5.0.6 and 5.0.7 only the ".tar" and ".Z"
work. The extension "tar.Z" doesn't.For OpenServer 6.0.0 above options don't work and in UnixWare 7.1.4 the /etc/ftpconv is not present by default.
Solution
This issue has been reported to SCO Engineering.
See also
ftpconv(SSF)