ftpconversions(4)ftpconversions(4)NAMEftpconversions - ftpd conversions database
The conversions known by 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
1 strip prefix
2 strip postfix
3 addon prefix
4 addon postfix
5 external command
strip postfix and addon postfix can be the file extensions or or or The
file extensions the ftp server supports and the action that the ftp
server performs is summarized in the table below. This feature is sup‐
ported only when using the 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 pro‐
gram/script to be used to perform the action specified for the differ‐
ent file extensions as described in the above table.
types field indicates the flags that must be checked before compress‐
ing, decompressing, tarring and untarring the file requested by the
options field specifies the options for the program/script specified in
the external command field.
description is a short description of each conversion.
NOTE: The HP-UX command does not support any option to do or 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 pro‐
gram/script in the external command field in the 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 and user accounts for the and users to be able
to perform on-the-fly conversions.
The conversions mechanism does not currently support the strip prefix
and addon prefix fields.
was developed by the Washington University, St. Louis, Missouri.
SEE ALSOftpd(1M), ftpaccess(4).