binary

Function

The binary command sets the file transfer type to binary mode.

By default, the transfer mode is ASCII.

Format

binary

Parameters

None

Views

FTP client view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ftp-client execute

Usage Guidelines

Binary mode is the most commonly used for data transfer.

Both ASCII and binary files can be sent in binary mode.

Example

# Set the data transmission type to binary.
<HUAWEI> ftp 1.1.1.1
[ftp] binary
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >