MODE (Set Transfer Mode)

 

The MODE i5/OS® FTP server subcommand specifies the mode or data format in which you want transmit data.

 

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 is a stream of bytes. You can use any representation type with stream mode. This transfer mode is more efficient because the FTP server does not transfer any data block information.
Notes:

  1. Stream mode is the default transfer mode that the system uses. It is the preferred mode.

  2. If there is no parameter, the FTP server returns a reply that indicates the present setting for MODE.