ascii

Use ascii to set the file transfer mode to ASCII.

Syntax

ascii

Default

The file transfer mode is binary.

Views

FTP client view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

You can perform this operation only after you log in to the FTP server.

The carriage return characters vary with operating systems. For example, HPE products and Windows use /r/n, and Linux uses /n. To transfer files between two systems that use different carriage return characters, select the FTP transfer mode according to the file type.

FTP transfers files in either of the following modes:

Examples

# Set the file transfer mode to ASCII.

ftp> ascii
200 TYPE is now ASCII

Related commands

binary