H3C S5830V2 Command Reference Manual page 92

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

ftp> bye
221-Goodbye. You uploaded 2 and downloaded 2 kbytes.
221 Logout.
<Sysname>
Related commands
quit
cd
Use cd to change the current working directory to another directory on the FTP server.
Syntax
cd { directory | .. | / }
Views
FTP client view
Predefined user roles
network-admin
Parameters
directory: Specifies the name of the target directory in the format [drive:][/]path, where drive
represents the storage medium name, typically flash. If the target directory does not exist, the cd
command does not change the current working directory. 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 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, the cd .. command does not
change the current working directory.
/: Returns to 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 subdirectory logfile of the current directory.
ftp> cd logfile
250 OK. Current directory is /logfile
# Change the working directory to the subdirectory folder 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 /
80

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents