Problem
I use the Internet Configuration Manager or the steps listed in
the SCO Openserver Networking Guide, page 119, to set up anonymous
ftp. I want to allow users to specify files in the format:filename.tar-or-filename.Z-or-filename.tar.Zto transfer files in tar and/or compressed format. However, for some reason, this feature is not automatically enabled when I set up my anonymous ftp site. My /etc/ftpaccess file lists the tar and compress utilities available to all. The documentation did not list any other steps needed to allow these features, but when anonymous users try to transfer files with the .tar.Z extension, they get the message:
550 local error:conversion program not found cannot TAR+COMPRESS files
How can I enable these features for my anonymous ftp users?
Cause
All files, including executable programs, which will be used by the
FTP session, must reside beneath the anonymous FTP directory. The
commands listed in the Networking Guide for configuring anonymous FTP
do not include the commands needed to move the tar and compress files
beneath this directory.Configuring anonymous ftp via the Internet Manager will not move the
neccessary tar and compress files beneath the anonymous FTP directory
either. The user must do this by hand in order to support the .tar
and .Z file extensions from their anonymous FTP site. Solution
To enable anonymous users to transfer files using the .tar and .Z
file extensions, you must make the tar and compress programs
available to anonymous ftp sessions. Anonymous FTP sessions run
within a "chroot" environment, that is, only files beneath the ftp
user's home directory can be accessed. When the tar and compress
utilities are available, their respective file extensions can be
used for file stransfers. To move the needed files to the correct
directories, type the following commands:# ksh
# mkdir ~ftp/usr/bin
# cp /usr/bin/tar ~ftp/usr/bin
# cp /usr/bin/compress ~ftp/usr/bin
# cp /bin/sh ~ftp/bin
# cp /bin/pwd ~ftp/binAnonymous ftp users will now be able to transfer files using the
tar and compress features.