51
View
FTP client view
Default level
3: Manage level
Parameters
directory
: Name of the target directory, in the format of [
drive
:][/]
path,
where
drive
represents the
storage medium name, typically flash or cf. If no drive information is provided, the argument represents
a folder or subfolder in the current directory. For more information about the
drive
and
path
arguments,
see
Fundamentals Configuration Guide.
..
: Returns to an upper directory. The execution of the
cd ..
command equals the execution of the
cdup
command. If the current working directory is the 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 root directory of the storage medium. The keyword does not support command line
online help.
Description
Use the
cd
command to change the current working directory on the remote FTP server to access another
authorized directory.
Related commands:
pwd
.
Examples
# Change the working directory to the sub-directory
logfile
of the current directory.
[ftp] cd logfile
250 CWD command successful.
# Change the working directory to the sub-directory
folder
of the authorized directory.
[ftp] cd /folder
250 CWD command successful.
cdup
Syntax
cdup
View
FTP client view
Default level
3: Manage level
Parameters
None
Description
Use the
cdup
command to exit the directory and enter the upper directory of the FTP server.
This command does not change the working directory if the directory is
work-directory
.
Related commands:
cd
and
pwd
.