Hitachi

JP1 Version 12 for Windows Systems JP1/File Transmission Server/FTP Description, Reference and Operator's Guide


3.1.2 Using a definition file to define an environment for JP1/FTP

You can use a definition file to define some of the environment settings for JP1/FTP.

You create a definition file and specify the definition information as described below.

Organization of this subsection

(1) Creating a definition file

Create a definition file with the following path name:

JP1/FTP-installation-directory\ftsenv.ini

(2) Contents of the definition file

Specify the definition information in the format of a Windows initialization file (.ini), as shown below:

[Figure]

The following table lists and describes the sections, keys, and values that can be specified.

Table 3‒2: Contents of the definition file (ftsenv.ini)

Section

Key

Value

Description

[ENV_INFO_VIEW]

GEN_USER

ON|OFF <<OFF>>

Specifies whether a non-Administrator user can reference the definition information.#1

  • ON: Make the definition information referenceable.

  • OFF: Do not display the definition information.

[WELL_KNOWN_PORTS]

Enable

ON|OFF <<OFF>>

Specifies whether to permit connection when a well-known port (0 to 1023) is specified in the PORT command at the FTP server.#2

  • ON: Permit connection.

  • OFF: Reject connection.

[ANOTHER_ADDRESS]

Enable

ON|OFF <<OFF>>

Specifies whether to permit connection when the IP address specified in the PORT command at the FTP server does not belong to the client that established the control connection.#2

  • ON: Permit connection.

  • OFF: Reject connection.

[MASK_CMD]

PORT

ON|OFF <<OFF>>

Specifies whether to suppress reception of the PORT command at the FTP server.#2, #3

  • ON: Suppress.

  • OFF: Do not suppress.

EPRT

ON|OFF <<OFF>>

Specifies whether to suppress reception of the EPRT command at the FTP server.#2, #3

  • ON: Suppress.

  • OFF: Do not suppress.

[C_WELL_KNOWN_PORTS]

Enable

ON|OFF <<OFF>>

At the FTP client, specifies whether to permit a connection when a well-known port (0 to 1023) is specified in the port number received from the FTP server after the PASV command is issued.#4

  • ON: Permit connection.

  • OFF: Reject connection.

[C_ANOTHER_ADDRESS]

Enable

ON|OFF <<OFF>>

Specifies whether to permit a connection when the IP address received from the FTP server after the PASV command is issued at the FTP client does not belong to the server that established the control connection.#4

  • ON: Permit connection.

  • OFF: Reject connection.

#1

In version 8 or earlier, a non-Administrator user cannot reference some of the definition information. If ON is specified, all the definition information becomes referenceable, including the information that was not referenceable in version 8 or earlier.

When the Operations-Manager Console is used to reference definition information, the user must be an administrator.

#2

This registration information takes effect the next time the JP1/File Transmission Server/FTP Server service starts.

#3

If ON is specified and the FTP server receives the corresponding command, the FTP server sends to the FTP client the response message 500 'command-name': command not understood.

Note that Help for this command is not disabled.

#4

This registration information takes effect the next time the JP1/File Transmission Server/FTP Client service starts.