![H3C S3100 Series Скачать руководство пользователя страница 846](http://html1.mh-extra.com/html/h3c/s3100-series/s3100-series_command-manual_3591810846.webp)
Command Manual (For Soliton) – FTP-SFTP-TFTP
H3C S3100 Series Ethernet Switches
Chapter 1 FTP and SFTP Configuration
Commands
1-15
localfile
: Name of the local file where the querying result is to be saved.
Description
Use the
ls
command to display the information about a specified file on an FTP server.
If you do not specify the
remotefile
argument, names of all the files in the current remote
directory are displayed.
Caution:
The
ls
command only displays file names on an FTP server. To query other file-related
information, for example, file size, creation date and so on, use the
dir
command.
Related commands:
pwd
.
Examples
# Display the names of all the files in the current directory on the remote FTP server.
[ftp] ls
227 Entering Passive Mode (2,2,2,2,4,4).
125 ASCII mode data connection already open, transfer starting for *.
s3r01.btm
s3r01_15.btm
config.cfg
default.diag
test
test.txt
mytest.bak
a.txt
myopenssh
public
temp.c
swithc001
226 Transfer complete.
FTP: 200 byte(s) received in 0.145 second(s) 1.00Kbyte(s)/sec.
1.2.14 mkdir
Syntax
mkdir
pathname