Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

binary - Set transfer type to BINARY

&pagelevel(4)&pagelevel

The binary command sets the transfer type to BINARY. This type of transfer should always be chosen when transferring binary files. On starting FTP, ASCII is set as the default value for the transfer type.

The transfer type can also be changed by using the binary, tenex and type commands. The currently set transfer type can be determined with the status and type commands. The transfer type is described in more detail on "FTP client in BS2000".

binary



Example

  1. The current transfer type is queried.

    type

    Using ascii mode to transfer files.

  2. The transfer type is changed from ASCII to BINARY.

    binary

    200 Type set to I.

  3. A PAM file is transferred. The FTP server function PORT is called implicitly.

    put pamela

    200 PORT command successful.

    ...

  4. The new transfer type is queried.

    type

    Using binary mode to transfer files.