< Home

cd (FTP client view)

Function

The cd command changes the working directory of the FTP server.

Format

cd remote-directory

Parameters

Parameter Description Value
remote-directory Specifies the name of a working directory on the FTP server. The value is a string of 1 to 64 case-insensitive characters without spaces.

Views

FTP client view

Default Level

3: Management level

Usage Guidelines

The FTP server authorizes users to access files in certain directories and their subdirectories.

Example

# Change the working directory to d:/temp.

<HUAWEI> ftp 10.137.217.201
Trying 10.137.217.201 ...
Press CTRL+K to abort
Connected to 10.137.217.201.
220 FTP service ready.
User(10.137.217.201:(none)):huawei
331 Password required for huawei.
Enter password:
230 User logged in. 
[ftp] cd d:/temp
250 "D:/temp" is current directory.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >