MODE (Specify Transmission Mode of Data)

 

The MODE i5/OS® FTP client subcommand specifies a data format for file transfer.

 

FTP client subcommand

MODE [ B | S]

B

Specifies block mode. In this mode, the FTP server transmits data as a series of data blocks, preceded by one or more header bytes. If you are transferring data in block mode, the type must be EBCDIC.

S

Specifies stream mode. In this mode, the FTP server transmits data as a stream of bytes. You can use any representation type with stream mode.
Notes:

  1. Stream mode is the default transfer mode that is used in FTP. Some systems do not support block mode.

  2. If you omit the optional parameter, the client displays the present MODE value.