R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
225
FTP client configuration commands
Before executing FTP client configuration commands, make sure you have made proper authority
configurations for users on the FTP server. Authorized operations include view the files under the current
directory, read/download the specified files, create directory/upload files, and rename/remove files).
The prompt information in the following examples varies with FTP server types.
ascii
Syntax
ascii
View
FTP client view
Default level
3: Manage level
Parameters
None
Description
Use ascii 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, HP and Windows use characters /r/n, and Linux uses characters /n. The
rules of the specified file transfer mode must be followed by the two communicating systems that use
different carriage return characters so that they can correctly resolve received files.
FTP transfers files in either of the following modes:
• Binary mode—For program file or picture transmission.
• ASCII mode—For text file transmission.
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
Default level
3: Manage level