FTP code page conversion

Code page conversion must be performed for:

FTP uses the iconv function to establish ASCII-to-EBCDIC and EBCDIC-to-ASCII translate tables for the control connection. The default network transfer code page for the control connection is 7-bit ASCII. In addition, FTP maintains support for the use of translate tables by the CONVXLAT utility. After a user has logged in, a SITE subcommand can be used to change the code page being used on the control connection.

FTP uses the iconv function to establish network transfer to file system and file system to network transfer translate tables for the data connection. In addition, FTP maintains support for the use of translate tables by the CONVXLAT utility.

Note: Using iconv conversion to retrieve EBCDIC data that was created with CONVXLAT-generated conversion tables could result in data corruption due to possible conversion table differences.

After a user has logged in, SITE and LOCSITE subcommands can be issued to change the translation tables being used for single-byte translation.