File Transfer Protocol

This topic contains z/OS® File Transfer Protocol (FTP) client and server configuration information and includes the following information:

FTP clients and servers both use a configuration file, referred to as FTP.DATA. FTP.DATA can be used to customize FTP behavior. The server's FTP.DATA file customizes the behavior of the server system, and the client's FTP.DATA file customizes the behavior of the client system.

For example, if you want to create data sets on the server's system with a logical record length of 80 characters, and create data sets on the client's system with a logical record length of 256, perform the following steps:

  1. Specify the LRECL 80 configuration statement in the FTP server's FTP.DATA configuration file.
  2. Specify the LRECL 256 configuration statement in the FTP client's FTP.DATA configuration file.

The setting in the FTP server's configuration file is used by the server when the user creates a file on the server's system with an FTP subcommand, such as PUT. Likewise, the setting in the FTP client's configuration file is used by the FTP client when the user creates a file on the client's system with an FTP subcommand, such as GET.

Guideline: The client setting does not override the server setting. Instead, the server setting affects data sets created on the server's system, while the client setting affects data sets created on the client system.