R3303-HP HSR6800 Routers Fundamentals Command Reference

55
Parameters
fast: Fast update. In this mode, the FTP server writes the complete file to the memory before writing it to
the storage medium.
normal: Normal update. In this mode, the FTP server writes the data of a file from the memory to the
storage medium multiple times, with up to 4096 bytes per time.
Examples
# Set the FTP update mode to normal.
<Sysname> system-view
[Sysname] ftp update normal
FTP client configuration commands
Before executing FTP client configuration commands, make sure you have made correct authorization
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 modeTransfers text files.
Examples
# Set the file transfer mode to ASCII.
[ftp] ascii
200 Type set to A.
[ftp]