Hitachi

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


2.3.3 Setting the port numbers

The following shows the file to use for setting the port numbers and the port number settings.

File used for setting the port numbers
/etc/services
Settings
ftssdata  aaaaa-1/tcp #Used by the JP1/FTP daemon during data transmission
ftss      aaaaa/tcp   #Used by the server during reception
ftsc      bbbbb/tcp   #Used by the client
ftsagent  ccccc/tcp   #Used by the Operations-Manager function
ftsagentdata ddddd/tcp #Used by the Operations-Manager function
Legend:

aaaaa, bbbbb, ccccc, ddddd: 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.

  • ftsagentdata can be omitted, in which case an unused port number assigned by the OS is used.

  • 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 might result in redundant assignment.

Example of setting port numbers
ftssdata  20124/tcp  #Used by the JP1/FTP daemon during data transmission
ftss      20125/tcp  #Used by the server during reception
ftsc      20126/tcp  #Used by the client
ftsagent  20252/tcp  #Used for the Operations-Manager function (agent)
ftsagentdata 20364/tcp #Used for the Operations-Manager function (agent)

A sample file is provided in /var/opt/jp1_fts/sys/services.model.

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]