HP MSR2000/3000/4000 Router Series Fundamentals Command Reference

93
Usage guidelines
You can perform this operation only after you log in to the FTP server.
The carriage return characters vary with operating systems. For example, HP and Windows use /r/n,
and Linux uses /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—Transfers program file or pictures.
ASCII mode—Transfers text files.
Examples
# Set the file transfer mode to binary.
ftp> binary
200 TYPE is now 8-bit binary
Related commands
ascii
bye
Use bye to terminate the connection to the FTP server and return to user view.
If no connection is established between the device and the remote FTP server, use this command to
return to user view.
Syntax
bye
Views
FTP client view
Predefined user roles
network-admin
Examples
# Terminate the connection to the FTP server and return to user view.
ftp> bye
221-Goodbye. You uploaded 2 and downloaded 2 kbytes.
221 Logout.
<Sysname>
Related commands
quit
cd
Use cd to change the current working directory to another directory on the FTP server.
Syntax
cd { directory | .. | / }