Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > F

ftpconversions(4)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

ftpconversions — ftpd conversions database

SYNOPSIS

/etc/ftpd/ftpconversions

DESCRIPTION

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 FilenameSpecified FilenameAction
filename.ZfilenameDecompress file before transmitting
filenamefilename.ZCompress filename before transmitting
filenamefilename.tarTar filename before transmitting
filenamefilename.tar.ZTar 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.

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

The conversions mechanism does not currently support the strip prefix and addon prefix fields.

FILES

etc/ftpd/ftpconversions

AUTHOR

ftpconversions was developed by the Washington University, St. Louis, Missouri.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.