TYPE (Specify Representation Type)

 

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

 

FTP server subcommand

 TYPE   [ A         |  B [ 1 | 2 | 3 [A|R] | 4 [A|R  ] | 5 | 6 | 7]
        |  C ccsid#
        |  E         |  F [ 1 ]
        |  I ]

A

Specifies the transfer type as the default (ASCII) transfer type. The server does not associate any vertical format control with the file. The server only supports the default format NON PRINT for ASCII. The ASCII transfer type is for the transfer of text files, except when both systems use the EBCDIC type.

The CCSID for TYPE A is the CCSID value of the FTP server configuration attributes. You can change these attributes with the CHGFTPA command.

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

Traditional Chinese (5550) (CCSID 938)

C

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. The server does not associate any vertical format control with the file. The server supports only the default format NON PRINT for EBCDIC. The EBCDIC transfer type is for efficient transfer between systems that use EBCDIC for their internal character representation.

F

IBM® EBCDIC Kanji (CCSID 5035)

F 1

IBM EBCDIC Kanji (CCSID 5035)

I

Specifies the transfer type as image. With the image transfer type, data is a string of bits, packed into 8-bit bytes. The image transfer type efficiently stores and retrieves files and transfers binary data such as object code.
Related reference
File Transfer Protocol server syntax conventions