Cdup - H3C S5120-EI Series Command Reference Manual

Fundamentals
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

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 the 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, or to access
another authorized directory on the FTP server.
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 current directory and enter the upper directory of the FTP server.
Execution of this command will not change the authorized directory if it is work-directory.
Related commands: cd and pwd.
Examples
# Change the current working directory path to the upper directory.
[ftp] pwd
257 "/ftp/subdir" is current directory.
[ftp] cdup
54

Advertisement

Table of Contents
loading

Table of Contents