Ftp Client Configuration Commands; Ascii; Binary - HP A7500 Series Command Reference Manual

Fundamentals
Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

FTP client configuration commands

NOTE:
You must use the ftp command to enter FTP client view before making client configurations. For more
information, see "ftp."
Before executing the FTP client configuration commands in this section, check that you have configured
the proper authority, including view the files under the current directory, read/download the specified
file, create directory/upload files, and rename/remove files) for users on the FTP server.
The prompt information for the examples 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, 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 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
49

Advertisement

Table of Contents
loading

Table of Contents