HP VPN Firewall Appliances System Management and Maintenance Command Reference
241
• disconnect
• quit
cd
Use cd to change the current working directory to another directory on the FTP server.
Syntax
cd { directory | .. | / }
Views
FTP client view
Default command level
3: Manage level
Parameters
directory: Name of the target directory, in the format [drive:][/]path, where drive represents the storage
medium name. 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 the chapter on
managing the file system in System Management and Maintenance 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. This option does not support command line online help.
/: Returns to the FTP root directory. This option does not support command line online help.
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 FTP root directory.
[ftp] cd /folder
250 CWD command successful.
# Change the working directory to the upper directory of the current directory.
[ftp] cd ..
250 CWD command successful.
# Change the working directory to the FTP root directory.
[ftp] cd /
250 CWD command successful.
[ftp]
Related commands
pwd