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:
The following table lists and describes the section, keys, and values that can be specified.
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:
|
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.
|
- Examples
-
Example 1: Enable transmission of files to HOST1 and HOST2 in the PASV mode:
Example 2: Enable transmission of files to all hosts in the PASV mode: