< Home

cd (FTP client view)

Function

The cd command changes the working directory on the remote FTP server.

Format

cd pathname

Parameters

Parameter Description Value

pathname

Specifies the directory.

The value is a string of 1 to 64 characters.

Views

FTP client view

Default Level

3: Management level

Usage Guidelines

This command can be used to access the directory in another path on the FTP server.

Example

# Change the working directory to d:/temp.

<sysname> ftp 10.1.1.1
Trying 10.1.1.1...
Press CTRL+K to abort
Connected to 10.1.1.1.
220 FTP service ready.
User(10.1.1.1:(none)):ftpuser
331 Password required for ftpuser
Enter password:
230 User logged in.
[ftp] cd d:/temp
250 CWD command successful.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >