Views
FTP client view
Predefined user roles
network-admin
Parameters
directory
does not change the current working directory.
: Specifies the upper directory. Executing the
..
command. If the current working directory is the FTP root directory, the
change the current working directory.
: Specifies the FTP root directory.
/
Usage guidelines
You can perform this operation only after you log in to the FTP server.
The directory that can be accessed must be authorized by the FTP server.
Examples
# Change the working directory to the logfile subdirectory of the current directory.
ftp> cd logfile
250 OK. Current directory is /logfile
# Change the working directory to the folder subdirectory of the FTP root directory.
ftp> cd /folder
250 OK. Current directory is /folder
# Change the working directory to the upper directory of the current directory.
ftp> cd ..
250 OK. Current directory is /
# Change the working directory to the FTP root directory.
ftp> cd /
250 OK. Current directory is /
Related commands
cdup
pwd
cdup
Use
to enter the upper directory of the FTP server.
cdup
Syntax
cdup
Views
FTP client view
Predefined user roles
network-admin
Usage guidelines
You can perform this operation only after you log in to the FTP server.
: Specifies the target directory. If the target directory does not exist, the
command is the same as executing the
cd ..
95
command
cd
cdup
command does not
cd ..