HP Enterprise FlexFabric 12900E Series Command Reference Manual page 113

Hide thumbs Also See for Enterprise FlexFabric 12900E Series:
Table of Contents

Advertisement

ftp> lcd /flash:/logfile
Local directory now /flash:/logfile
ls
Use
ls
to display or save detailed information about files and directories on the FTP server.
Syntax
ls [ remotefile [ localfile ] ]
Views
FTP client view
Predefined user roles
network-admin
Parameters
remotefile
localfile
Usage guidelines
You can perform this operation only after you log in to the FTP server.
To display detailed information about the files and subdirectories in the working directory on the FTP
server, use the
To display detailed information about a file or directory on the FTP server, use the
command.
To save detailed information about a file or directory on the FTP server to a local file, use the
remotefile localfile
In FTP client view, executing the
Examples
# Display detailed information about the files and subdirectories in the working directory on the FTP
server.
ftp> ls
150 Connecting to port 50201
-rwxr-xr-x
drwxr-xr-x
drwxr-xr-x
drwxr-xr-x
drwxr-xr-x
-rwxr-xr-x
-rwxr-xr-x
-rwxr-xr-x
-rwxr-xr-x
226 9 matches total
# Save detailed information about the file a.txt to s.txt.
ftp> ls a.txt s.txt
output to local-file: s.txt ? [Y/N]y
150 Connecting to port 50203
226-Glob: s.txt
: Specifies a file or directory on the FTP server.
: Specifies the name of the local file used to save the displayed information.
command.
ls
command.
ls
1 0
0
2 0
0
3 0
0
2 0
0
2 0
0
1 0
0
1 0
0
1 0
0
1 0
0
command is the same as executing the
1481 Jul
8192 Jul
8192 Jul
8192 Jul
8192 Jul
40808448 Jul
3050 Jul
54674 Jul
1481 Jul
107
ls remotefile
command.
dir
7 15:36 a.txt
2 14:33 diagfile
7 15:21 ftp
5 09:15 logfile
2 14:33 seclog
2 14:33 system-a1801.bin
7 12:26 startup.cfg
4 09:24 startup.mdb
7 12:34 x.cfg
ls

Advertisement

Table of Contents
loading

Table of Contents