Ftp Client Configuration Commands; Ascii - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Examples
# Set the FTP update mode to normal.
<Sysname> system-view
[Sysname] ftp update normal

FTP Client Configuration Commands

In this section, the configuration procedure of entering FTP client view is omitted. You must use the
ftp command to enter FTP client view for configurations under this view. For details, refer to ftp.
Before executing the FTP client configuration commands in this section, make sure you have
configured the proper authority for users on the FTP server, such as view the files under the current
directory, read/download the specified file, create directory/upload files, rename/remove files, and
so on.
The prompt information in the examples of this section varies with FTP server types.

ascii

Syntax
ascii
View
FTP client view
Default Level
3: Manage level
Parameters
None
Description
Use the ascii command 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, the H3C device system and Windows system use characters /r/n, and the
Linux system uses characters /n. Therefore, after the file transmission between two systems that use
different carriage return characters, such as Linux system and H3C device system, the FTP
transmission mode must be applied to ensure the correct resolution of the files.
FTP transfers files in two modes:
Binary mode: for program file or picture transmission.
ASCII mode: for text file transmission.
1-6

Advertisement

Table of Contents
loading

Table of Contents