Start TCP/IP File Transfer (STRTCPFTP) in IBM i (AS400) |
STRTCPFTP
The STRTCPFTP command is used to start the File Transfer protocol (FTP) client application that transfer file bwtween multiple systems using TCP/IP protocol.
Start TCP/IP File Transfer (STRTCPFTP) Type choices, press Enter. Remote system . . . . . . . . . RMTSYS > Coded character set identifier CCSID *DFT Port . . . . . . . . . . . . . . PORT *DFT Secure connection . . . . . . . SECCNN *DFT Additional Parameters Outgoing EBCDIC/ASCII table . . TBLFTPOUT *CCSID Library . . . . . . . . . . . Incoming ASCII/EBCDIC table . . TBLFTPIN *CCSID Library . . . . . . . . . . . Application identifier . . . . . APPID *DFT
Parameters of STRTCPFTP
RMTSYS
Specify the Remote system name or ip address. Possible values are as follows
Start TCP/IP File Transfer (STRTCPFTP) Type choices, press Enter. Remote system . . . . . . . . . RMTSYS > *INTNETADR Internet address . . . . . . . . INTNETADR
INTNETADR
Here, we need to specify the IPv4 or IPv6 internet address of the remote system for FTP. If the internet address is specified frpm the command line, the internet address must be enclosed within apostrophes.
An IPv4 internet address is specified as nnn.nnn.nnn.nnn, where nnn is a decimal number ranging from 0 through 255.
An IPv6 internet address is specified as xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx, where x is a hexadecimal digit represents 4 bits. A hexadecimal digit a number from 0 to 9 and letters A, B, C, D, E, F. "::" may be used once in the IPv6 address to indicate one or more groups of 16 bits of zeros. The "::" may be used to compress leading, imbedded, or trailing zeros in the IPv6 address.
CCSID
We can specify the ASCII ccsid (coded character set identifier) that is used for SBCS (Single byte character set). DBCS ccsid is not permitted here. Possible values are:
PORT
Here, Specify the port number to be used to connect to FTP server.
Default, server port 21 is used to connect to the FTP server. Please note that FTP client subcommands OPEN and SECOPEN have an optional parameter PORT which may be used to specify the server port other than 21. Possible values are:
SECCNN
Here, specify the type of security mechanism to be used to protect the data transferred on the FTP control connection. Possible values are:
DTAPROT
Here, specify the type of data protection to be used for data transferred on the FTP data connection. This connection is used to transfer file data. The FTP protocol does not allow protection of the data connection if the control connection is not protected. Possible values are:
TBLFTPOUT
It is an Outgoing ASCII/EBCDIC table. Here, we specify the table object which is used to map all outgoing data in the FTP client. Outgoing data is mapped from EBCDIC to ASCII. Possible values are:
TBLFTPIN
It is an Incoming ASCII/EBCDIC table. Here, we specify the table object which is used to map all incoming data in the FTP client. incoming data is mapped from ASCII to EBCDIC. Possible values are: