TYPE (Specify File Transfer Type)

 

The TYPE i5/OS® FTP client subcommand specifies the file-transfer type, or the representation in which the transfer is to take place.

 

FTP client subcommand

TYpe [ A  | B [ 1 | 2 | 3 [A|R] | 4 [A|R] | 5 | 6 | 7]
 | C CCSID number  | E  | F [ 1 ]
 | I ]

A

Specifies the transfer type as the default (ASCII) transfer type. This has the same effect as the ASCII subcommand. The FTP server does not associate any vertical format control with the file. It only supports the default format NON PRINT for ASCII. Use the ASCII transfer type or the transfer of text files, except when both systems use the EBCDIC type.

The default CCSID for TYPE A (ASCII) is the CCSID that is specified on the CCSID parameter of the STRTCPFTP command or FTP subcommand.

B

Shift JIS Kanji (CCSID 932)

B 1

Shift JIS Kanji (CCSID 932)

B 2

Extended UNIX® Code Kanji (CCSID 5050)

B 3

JIS 1983 using ASCII shift-in escape sequence (CCSID 5054)

B 3 A

JIS 1983 using ASCII shift-in escape sequence (CCSID 5054)

B 3 R

JIS 1983 using JISROMAN shift-in escape sequence (CCSID 5052)

B 4

JIS 1978 using ASCII shift-in escape sequence (CCSID 5055)

B 4 A

JIS 1978 using ASCII shift-in escape sequence (CCSID 5055)

B 4 R

JIS 1978 using JISROMAN shift-in escape sequence (CCSID 5053)

B 5

Hangeul (CCSID 934)

B 6

Korean Standard Code KSC-5601, 1989 version (CCSID 949)

B 7

Taditional Chinese (5550) (CCSID 938)

C CCSID number

Specifies the transfer type to any CCSID (coded character set identifier) that is installed on the system. The CCSID number must follow C.

E

Specifies the transfer type as EBCDIC. This has the same effect as the EBCDIC subcommand. The FTP server does not associate any vertical format control with the file. It only supports the default format NON PRINT for EBCDIC. Use the EBCDIC transfer type for the efficient transfer between systems that use EBCDIC as their internal character representation.

F

IBM® EBCDIC Kanji (CCSID 5035)

F 1

IBM EBCDIC Kanji (CCSID 5035)

I

Specifies the transfer type as image. This has the same effect as the BINARY subcommand. With the image transfer type, data is a string of bits, packed into 8-bit bytes. The image transfer type is an efficient at storing and retrieving files and for transferring binary data such as object code. Data is transferred as is; there is no conversion.

If there are no parameters, the FTP server displays the present setting for the TYPE subcommand.

Related reference
LTYPE (Local Type) File Transfer Protocol client syntax conventions Specifying mapping tables