Hitachi

For Windows Systems Job Management Partner 1 Version 10 Job Management Partner 1/File Transmission Server/FTP Description, Reference and Operator's Guide


2.2.2 Setting the port numbers

After you have finished installing JP1/FTP, you must specify in the following file the port numbers to be used by JP1/FTP.

File used for setting the port numbers
OS-installation-directory\system32\drivers\etc\services
Settings
ftssdata  aaaaa-1/tcp  #Used by the server during data transmission
ftss      aaaaa/tcp   #Used by the server during reception
ftsc      bbbbb/tcp   #Used by the client
ftsclog   ccccc/tcp    #Used by the client to obtain log information
ftsslog   ddddd/tcp   #Used by the server to obtain log information
ftsagent  eeeee/tcp    #Used by the Operations-Manager function (agent)
Legend:

aaaaa, bbbbb, ccccc, ddddd, eeeee: Unique port numbers. Each must be different from any port numbers used by any other programs.

  • aaaaa-1 can be set automatically, but we recommend that you specify the number explicitly, as shown above.

  • If you specify a port number that is within the range of port numbers automatically assigned by the OS, it is assigned by the OS when JP1/FTP or another program is running. This may result in redundant assignment.

  • If you plan to use the host only as a server or only as a client, specify one of the following sets of port numbers:

    To use the host only as a server: ftssdata, ftss, ftsslog

    To use the host only as a client: ftsc, ftsclog

Example of setting port numbers
ftssdata  20124/tcp  #Used by the server during data transmission
ftss      20125/tcp  #Used by the server during reception
ftsc      20126/tcp  #Used by the client
ftsclog   20127/tcp  #Used by the client to obtain log information
ftsslog   20128/tcp  #Used by the server to obtain log information
ftsagent  20252/tcp  #Used by the Operations-Manager function (agent)

A sample file is provided in JP1/FTP-installation-directory\services.sample.

Specification during transmission

To use JP1/FTP at the server, the client must specify the port number that was assigned to ftss during file transmission (in the above example, 20125).

When transmitting files from the OS's default FTP to JP1/FTP

If JP1/FTP is at the server and the OS's default FTP is used at the client to transmit files, the port specifications are as shown below.

Figure 2‒2: Example of file transmission from the OS's default FTP to JP1/FTP

[Figure]