z/OS Communications Server: IP User's Guide and Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


LANGuage subcommand—Set the language used for FTP replies from the server

z/OS Communications Server: IP User's Guide and Commands
SC27-3662-00

Purpose

Ask the server to use a certain language for FTP server replies, or reset the language in use to the server's default language.

Format

Read syntax diagramSkip visual syntax diagram
>>-LANGuage--+-------------------------+-----------------------><
             '- language--+----------+-'   
                          '- -subtag-'     

Parameters

language
A 2-character code as specified by RFC 1766 identifying the language to be used for FTP replies. RFC 1766 defines these codes as those listed in ISO 639. See Related protocol specifications for information about accessing RFCs.
-subtag
A 2-character code as specified by RFC 1766 identifying a variation of language. RFC 1766 defines these codes as ISO 3166 alpha-2 country codes. See Related protocol specifications for information about accessing RFCs.

Results

  • The LANGuage language -subtag subcommand is equivalent to the LANG language -subtag command.
  • LANGuage with no parameters sets the language for FTP replies to the server's default language. For most FTP servers, the default is US English encoded in 7-bit ASCII.
  • LANGuage with a parameter requests the server to use language for FTP replies. As specified in RFC 2640, it also directs the server and client to use UTF-8 encoding of path names on the control connection.
Rules:
  • This subcommand is not available unless EXTENSIONS UTF8 is encoded in FTP.DATA.
  • The subcommand is not available if you have disabled UTF-8 encoding with a LOCSIte command or FTP start option.
Guideline: Use the FEature subcommand to determine which languages the server offers prior to using the LANGuage subcommand to request a language for FTP replies. See FEature subcommand—Query FTP server for features it supports for information about using the FEature subcommand.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).