ftpconversions(4) ftpconversions(4)
NAME [Toc] [Back]
ftpconversions - ftpd conversions database
SYNOPSIS [Toc] [Back]
/etc/ftpd/ftpconversions
DESCRIPTION [Toc] [Back]
The conversions known by ftpd and their attributes are stored in an
ASCII file that is structured as below. Each line in the file
provides a description for a single conversion. Fields are separated
by colons (:).
%s:%s:%s:%s:%s:%s:%s:%s
1 2 3 4 5 6 7 8
Field Description
1 strip prefix
2 strip postfix
3 addon prefix
4 addon postfix
5 external command
6 types
7 options
8 description
strip postfix and addon postfix can be the file extensions .Z or .tar
or .gz or .tar[.Z,.gz]. The file extensions the ftp server supports
and the action that the ftp server performs is summarized in the table
below. This feature is supported only when using the get command.
True Filename | Specified Filename | Action
______________|____________________|______________________________________
filename.Z | filename | Decompress file before transmitting
filename | filename.Z | Compress filename before transmitting
filename | filename.tar | Tar filename before transmitting
filename | filename.tar.Z | Tar and compress filename
| | before transmitting
external command field is used to specify the path of the
program/script to be used to perform the action specified for the
different file extensions as described in the above table.
types field indicates the flags that must be checked before
compressing, decompressing, tarring and untarring the file requested
by the get command.
options field specifies the options for the program/script specified
in the external command field.
description is a short description of each conversion.
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
ftpconversions(4) ftpconversions(4)
NOTE: The HP-UX tar command does not support any option to do
tar+compress or tar+gzip. If the user wants to perform any such
action, he/she must then write his/her own program/script to do it and
specify the pathname of the program/script in the external command
field in the /etc/ftpd/ftpconversions file. Also a copy of the
programs/scripts used to perform the conversions and the respective
libraries used by the programs/scripts must be copied into the home
directory of each of the anonymous and guest user accounts for the
anonymous and guest users to be able to perform on-the-fly
conversions.
WARNINGS [Toc] [Back]
The conversions mechanism does not currently support the strip prefix
and addon prefix fields.
FILES [Toc] [Back]
etc/ftpd/ftpconversions
AUTHOR [Toc] [Back]
ftpconversions was developed by the Washington University, St. Louis,
Missouri.
SEE ALSO [Toc] [Back]
ftpd(1M), ftpaccess(4).
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ] |