Dir - H3C S6550X-HI Series Command Reference Manual

Table of Contents

Advertisement

ftp> delete b.txt
250 Deleted b.txt

dir

Use
dir
to display or save detailed information about files and directories on the FTP server.
Syntax
dir [ 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> dir
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 file a.txt to s.txt.
ftp> dir a.txt s.txt
output to local-file: s.txt ? [Y/N]y
150 Connecting to port 50203
226-Glob: a.txt
: Specifies a file or directory on the FTP server.
: Specifies the name of the local file used to save the displayed information.
dir
command.
command.
dir
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
14
dir remotefile
command.
ls
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
dir

Advertisement

Table of Contents
loading

Table of Contents