Transfer CFT TCP mode installation

Before you can run the Transfer CFT, you must execute a configuration file. To do this, use the cft-tcp.conf and cft-tcp-part.conf files located in the Transfer CFT runtime/conf directory.

After you configure the sample configuration file to correspond with your installation requirements, start Transfer CFT, perform a transfer, and shut down Transfer CFT as described in this topic.

Configuring Transfer CFT

Modify the Transfer CFT configuration file as follows:

  • Declare the software protection key
  • Define the local TCP characteristics (name of your system and TCP listening port)
  • Define the partners (name of your system, as the transfers are to be made in loop-back mode)
  1. Using an editor such as vi, edit the cft-tcp.conf file located in the <install-directory>/runtime/conf directory (/Axway/TransferCFT/runtime/conf) by default.
  2. In the CFTPARM section, locate the KEY parameter. If it is not set, enter your protection key. You can either:
    • Enter your key in the cft-tcp.conf file as:
      CFTPARM ID = IDPARM0, KEY = ’046zmuhj7vvo8jikxlbeya09i’
    • Enter your key in the $CFTKEY file ($CFTKEY is by default the file cft.key).
  3. Edit the <install-directory>/runtime/conf/cft.key file, and write one key per line; only one key if you only use the Transfer CFT product in the Axway platform.
  4. In the CFTNET section, locate the HOST parameter. You must enter the name of your system as declared for the network. Do not use localhost.

    cftnet id = TCPIP,
    type = TCP,
    call = inout,
    host = myhost,
    maxcnx = 3,
    mode = replace

  5. Locate the HOST parameter in the two CFTTCP sections used to identify the NEWYORK and PARIS partners. Enter the name of your system as declared for the network. Do not use localhost. Or enter the partner Internet address.

cfttcp id = LOOP,
host = myhost,
cnxin = 8,
cnxout = 8

To operate in TCP mode, Transfer CFT needs an available port number. By default, the test procedure uses port 1761, the first of the eight ports reserved by Sopra in its agreement with the IANA (Internet Assigned Numbers Authority).

If this port number is already used on your system (see the /etc/services system file or use the netstat system command), you must modify the Transfer CFT configuration. To do so, locate the SAP fields in the CFTPROT and CFTPART sections and replace the current value of 1761 with a port number available on your system. This port number can be one of the other ports reserved for Transfer CFT (1761 to 1768) or any other port available on your system (generally higher than 5000).

TYPE      = PESIT,
PROF      = CFT,
NET      = TCPIP,
SAP      = 1761, /* Listening port */

SAP      = 1761, /* Listening port */
  1. Save your changes.

Testing the Transfer CFT installation

  1. Access the <installdir>/runtime/conf/ directory.
  2. Generate the Transfer CFT configuration data using the cftinit utility:

cftinit cft-tcp.conf

  1. When the cftinit complete message is displayed, run Transfer CFT using the cftstart utility:

cft start

  1. When the CFTMAIN process ID is xxxxx message is displayed, check that the Transfer CFT status is correct using the cftping utility:

cftping -v

  1. Perform a text-type transfer to the NEWYORK partner by entering the command:

cftutil send part=NEWYORK,idf=txt

  1. After a few seconds, you can check the transfer state by entering the command:



You should obtain a result similar to the one given below (if the transfer is not complete, repeat the cftcatab command).

Date = 04/08/2008 Time = 16:23:50

Partner DTSA File Transfer Records Diags Appli.

Id. Id. Transmit Total CFT Protocol Id.

-------- ---- -------- -------- ---------- ---------- --- -------- --------

NEWYORK SFT TXT H0416234 112 112 0 CP NONE

PARIS RFT TXT H0416234 112 112 0 CP NONE

2 record(s) selected

10000 record(s) in Catalog file

9998 record(s) free (99%)

CFTU00I LISTCAT _ Correct (type=all,content=brief)

  1. Shut down Transfer CFT using the cft stop utility:

    cft stop

  1. When the CFT stopped correctly message is displayed, check that the Transfer CFT status is correct using the cftping utility:

cftping -v

Expected display:

   cft: not running


Related Links