HP VPN Firewall Appliances System Management and Maintenance Command Reference
239
Examples
# Set the FTP update mode to normal.
<Sysname> system-view
[Sysname] ftp update normal
[Sysname]
FTP client commands
Before executing FTP client configuration commands, make sure you have made correct 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
Use ascii to set the file transfer mode to ASCII.
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, HP 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