Job Management Partner 1/File Transmission Server/FTP Description, Reference and Operator's Guide
Create a definition file as shown below.
- Organization of this subsection
- (1) Creating a definition file
- (2) Contents of the definition file
- (3) Note
(1) Creating a definition file
Create a definition file with the following path name:
JP1/FTP-installation-directory\HOSTINFO.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 sections, keys, and values that can be specified.
Table 3-12 Contents of the definition file (HOSTINFO.INI)
Section Key Value Description [CSHOST] CSHost YES|NO
<<NO>>At the FTP client, specifies whether the ftstran command's /H specification and the fts_ftp_open() function's hostname specification are to be effective:
- YES: Set the FTP client's source address to the IP address of the host that is specified in /H in the ftstran command or in hostname in the fts_ftp_open() function.
If you specify YES but /H is omitted in the ftstran command, the physical host name is assumed. Also, if you specify YES but NULL is specified in hostname in the fts_ftp_open() function, the physical host name is assumed.
- NO: Set the FTP client's source address to the value that is assigned automatically by the OS.
[RSPMSG] Reverse YES|NO|(omitted)
<<omitted>>Specifies the output format for the FTP server's host name in a response message that is sent from the FTP server:
- YES: Output the host name obtained by converting the connected IP address.
- NO: Output the connected IP address.
- Omitted: Output the physical host name.
[JP1EVENT] HostName host-name|IP-address | (omitted)
<<omitted>>Specifies the destination for output of JP1 events:
- host-name|IP-address: Specifies the destination for JP1 events that report start and stop of services (client, server, log, or agent).
The destination (logical or physical address) of a JP1 event that is generated during termination of a transmission is set to the host that executed the transmission.
- Omitted: Send all JP1 events to the physical host.
AgentIsSame YES|NO
<<YES>>Specifies whether to set the destination of the JP1 events reporting the start and stop of the agent service to the host specified in HostName.
- YES: Set the destination of JP1 events to the host specified in HostName.
- NO: Set the destination of JP1 events to the physical host.
- Example
- This example enables the /H specification in the ftstran command and the hostname specification in fts_ftp_open().
- This example sets the host name obtained by converting the connected IP address as the FTP server's host name in the FTP server's response message.
- This example sets the destination of JP1 events reporting start and stop of services (client, server, log, or agent) to Host1 (logical host name = Host1).
(3) Note
If there is no definition file, these functions are disabled, and the physical host name is assumed in all cases.
All Rights Reserved. Copyright (C) 2010, Hitachi, Ltd.