MODE (Set Transfer Mode)

FTP server subcommand

To specify how to you want bits of data transmitted, specify the mode, or data format, by using the MODE FTP server subcommand:

MODE [B | S]

B
Specifies block mode. In this mode, data is a series of data blocks, preceded by one or more header bytes.
S
Specifies stream mode. In this mode, data a stream of bytes. You can use any representation type with stream mode. This transfer mode is more efficient because the server does not transfer any data block information.
Notes:
  1. Stream mode is the default transfer mode the iSeries™ server uses and is the preferred mode.
  2. If there is no parameter, the server returns a reply that indicates the present setting for MODE.
Related reference
File Transfer Protocol server syntax conventions