| Parameter | Description | Value |
|---|---|---|
local-directory |
Specifies the name of the local working directory of an FTP client. |
The name is a string of 1 to 64 characters. |
Different from the pwd (FTP client view) command that displays the remote working directory of FTP server, after the lcd command is run, the local working directory of FTP client is displayed.
# Change the local working directory to hda1:/test.
<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] lcd The current local directory is hda1:. <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] lcd hda1:/test The current local directory is hda1:/test.