Parameter | Description | Value |
---|---|---|
remote-directory | Specifies the name of a directory on the SFTP server. | The value is a string of 1 to 64 case-insensitive characters without spaces. |
The SFTP server authorizes users to access files in certain directories and their subdirectories.
The specified working directory must exist on the SFTP server. If the remote-directory parameter is not included in the cd command, only the current working directory of an SSH user is displayed as the command output.
# Change the current working directory of the SFTP server to /bill.
<HUAWEI> system-view [HUAWEI] sftp 10.137.217.201 Please input the username:admin Trying 10.137.217.201 ... Press CTRL+K to abort Connected to 10.137.217.201 ... Enter password:
sftp-client> cd bill Current directory is: /bill