63
Syntax
ascii
Default
The file transfer mode is ASCII.
Views
FTP client view
Default command level
3: Manage level
Usage guidelines
The carriage return characters vary with operating systems. For example, H3C and Windows use
characters
/r/n
, and Linux uses characters
/n
. To transfer files between two systems that use different
carriage return characters, determine FTP transfer mode according to the file type.
FTP transfers files in either of the following modes:
•
Binary mode
—Transfers image files or pictures.
•
ASCII mode
—Transfers text files.
Examples
# Set the file transfer mode to ASCII.
[ftp] ascii
200 Type set to A.
[ftp]
Related commands
binary
binary
Use
binary
to set the file transfer mode to binary mode, or "flow mode".
Syntax
binary
Default
The transfer mode is ASCII mode.
Views
FTP client view
Default command level
3: Manage level
Examples
# Set the file transfer mode to
binary
.
[ftp] binary
200 Type set to I.