Ascii; Binary - H3C WX Series Command Reference Manual

Hide thumbs Also See for WX Series:
Table of Contents

Advertisement

ascii

Syntax
ascii
View
FTP client view
Default Level
3: Manage level
Parameters
None
Description
Use the ascii command to set the file transfer mode to ASCII.
By default, the file transfer mode is ASCII.
The carriage return characters vary with operating systems. For example, to indicate
the end of a line and transfer to the next line, the H3C device system and Windows
system use characters /r/n, and the Linux system uses characters /n. Therefore, after the
file transmission between two systems that use different carriage return characters, such
as Linux system and H3C device system, the FTP transmission mode must be applied to
ensure the correct resolution of the files.
FTP transfers files in two modes:
Binary mode: for program file or picture transmission.
1.
ASCII mode: for text file transmission.
2.
Related commands: binary.
Examples
Set the file transfer mode to ASCII.
[ftp] ascii
200 Type set to A.

binary

Syntax
binary
View
FTP client view
42

Advertisement

Table of Contents
loading

Table of Contents