H3C S5120-SI Series Command Reference Manual page 307

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

Advertisement

Description
Use the bye command to disconnect from the remote FTP server and return to user view. If the device
establishes no connection with the remote FTP server, you will return to user view directly.
Related commands: close, disconnect, 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 of [drive:/]path. For the detailed explanation of the
drive and path arguments, refer to File System Management Configuration. If no drive information is
provided, the argument represents a folder or subfolder under the current directory.
..: Returns to an upper directory. 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 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.
You can use this command 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.
1-8

Advertisement

Table of Contents
loading

Table of Contents