Technical article 126639

OSR506/507/600/714:/etc/ftpconv not working as detailed

OpenServer 6.0.0OpenServer 5.0.6OpenServer 5.0.7UnixWare 7.1.4

Written · Last revised

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+COMPRESS
In 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)

From the Xinuos technical article database, record 126639. Reproduced with permission. The original is at www.sco.com/ta/126639, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.