Parameters
None
Description
Use bye to disconnect from the remote 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 directly.
Related commands: close, disconnect, and quit.
Examples
# Terminate the connection with the remote FTP server and return to user view.
[ftp] bye
221 Server closing.
cd
Syntax
cd { directory | .. | / }
View
FTP client view
Default level
3: Manage level
Parameters
directory: Name of the target directory, in the format [drive:][/]path, where drive represents the storage
medium name, typically flash. If no drive information is provided, the argument represents a folder or
subfolder in the current directory. If the specified target directory does not exist, you are still in the same
directory after executing the cd command. For more information about the drive and path arguments, see
Fundamentals Configuration Guide.
..: Returns to the upper directory. Executing the cd .. command is the same as executing the cdup
command. If the current working directory is the FTP root directory, or no upper directory exists, the
current working directory does not change when the cd .. command is executed. This argument does not
support command line online help.
/: Returns to the FTP root directory. The keyword does not support command line online help.
Description
Use cd to change the working directory on the FTP server to access another authorized directory.
Related commands: pwd.
Examples
# Change the working directory to the current directory's sub-directory logfile.
[ftp] cd logfile
250 CWD command successful.
# Change the working directory to the FTP root directory's sub-directory folder.
[ftp] cd /folder
250 CWD command successful.
59