< Home

ascii

Function

The ascii command sets the file transmission type to ASCII.

By default, the transmission type is ASCII.

Format

ascii

Parameters

None

Views

FTP client view

Default Level

3: Management level

Usage Guidelines

The transmission data types supported by the FW are ASCII and binary

Example

# Set the transmission data type to ASCII.

<sysname> ftp 10.1.1.1
Trying 10.1.1.1...
Press CTRL+K to abort
Connected to 10.1.1.1.
220 FTP service ready.
User(10.1.1.1:(none)):ftpuser
331 Password required for ftpuser
Enter password:
230 User logged in.  
[ftp] ascii
200 Type set to A.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >