The ls command lists all the directories and files in the present working directory of remote machine.
Parameter | Description | Value |
---|---|---|
remote-directory |
Specifies the directory name in the remote machine. |
Remote directory name is a string data type. The string length range is from 1 to 128 characters. |
local-filename |
Specifies the local file to be saved in the directory of remote machine. |
Local file name is a string data type. The string length range is from 1 to 128 characters. |
<HUAWEI> ftp 10.18.26.133
[ftp] ls
<HUAWEI> ftp 10.18.26.133
[ftp] ls new_folder
<HUAWEI> ftp 10.18.26.133
[ftp] ls new_folder output.txt