Hitachi

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


3.9.1 Registering the host names

Create a definition file as shown below and then specify the host names.

Organization of this subsection

(1) Creating a definition file

Create a definition file with the following path name:

JP1/FTP-installation-directory\FTPPASV.INI

(2) Contents of the definition file

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

[Figure]

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

Table 3‒10: Contents of the definition file in the PASV mode

Section

Key

Value

Description

[PasvMode]

MaxInfoCount

maximum-number-of-hosts | ALL

Specifies the number of remote FTP server hosts to which transmission of files in the PASV mode will be permitted:

  • maximum-number-of-hosts: Specifies a maximum value for X in the HostName[X] lines that follow this line.

  • ALL: Specifies that file transmission in the PASV mode is to be permitted for all remote FTP server hosts. When ALL is specified, any HostName[X] lines are ignored.

HostName[X]

host-name

Specifies the host name or IP address of the remote FTP server to which files will be transmitted in the PASV mode.

When you specify an IP address, you can specify an IPv4 or IPv6 address. Use one line for each host to be registered.

For a host name, specify the same remote host name as is used in the transmission information.

  • For X, specify a value of 1 or greater but no greater than the value of MaxInfoCount. If the specified value is greater than the value of MaxInfoCount, the specification is ignored.

  • The X value on each line must be unique.

  • The X values can be specified in any order.

Examples

Example 1: Enable transmission of files to HOST1 and HOST2 in the PASV mode:

[Figure]

Example 2: Enable transmission of files to all hosts in the PASV mode:

[Figure]