cd

Function

The cd command changes the current remote working directory.

Format

cd pathname

Parameters

Parameter Description Value
pathname

Specifies the remote directory name.

The value is a string of 1 to 255 case-insensitive characters without a blank space.

Views

FTP client view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ftp-client execute

Usage Guidelines

Usage Scenario

You can run the cd command to change the current working directory. The root directory is the default working directory.

Precautions

Accessing the directory completely depends upon the user access permission at the remote server.

Example

# Change the remote directory name to new_folder.
<HUAWEI> ftp 1.1.1.1
[ftp] cd new_folder
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >