•
ASCII mode—Transfers text files.
When the device acts as the FTP server, the transfer mode is determined by the FTP client. When
the device acts as the FTP client, you can set the transfer mode. The default transfer mode is binary.
Examples
# Set the file transfer mode to binary.
ftp> binary
200 TYPE is now 8-bit binary
Related commands
ascii
bye
Use
to terminate the connection to the FTP server and return to user view. If no connection is
bye
established between the device and the 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
to change the current working directory to another directory on the FTP server.
cd
Syntax
cd { directory | .. | / }
Views
FTP client view
Predefined user roles
network-admin
Parameters
directory
does not change the current working directory.
: Specifies the target directory. If the target directory does not exist, the
11
command
cd