Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Apropos / Subsearch:
optional field

 ftpconversions(4)					   ftpconversions(4)

      ftpconversions - ftpd conversions database


      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 (:).

	   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 Release 11i: November 2000

 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

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


      /usr/newconfig/etc/ftpd/examples/ftpconversions	sample
							ftpconversions file

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

      ftpd(1M), ftpaccess(4).

 Hewlett-Packard Company	    - 2 -   HP-UX Release 11i: November 2000