HP E4510-48G Command Reference Manual page 1076

4510g series
Table of Contents

Advertisement

View
FTP client view
Default Level
3: Manage level
Parameters
remotefile: Name of the file or directory on the remote FTP server.
localfile: Name of the local file to save the displayed information.
Description
Use the dir command to view the detailed information of the files and subdirectories under the current
directory on the remote FTP server.
Use the dir remotefile command to display the detailed information of the specified file or directory on
the remote FTP server.
Use the dir remotefile localfile command to display the detailed information of the specified file or
directory on the remote FTP server, and save the displayed information into a local file specified by the
localfile argument.
You can use the dir command to display the folder- and file-related information, such as the size, and
the date they were created. If you only need to view the name of all the files and subdirectories under
the current directory, you can use the Is command.
Examples
# View the detailed information of the files and subdirectories under the current directory on the remote
FTP server.
[ftp] dir
227 Entering Passive Mode (192,168,1,46,5,68).
125 ASCII mode data connection already open, transfer starting for /*.
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
drwxrwxrwx
1 noone
-rwxrwxrwx
1 noone
226 Transfer complete.
FTP: 394 byte(s) received in 0.189 second(s), 2.00K byte(s)/sec.
[ftp]
# View the information of the file ar-router.cfg, and save the result to aa.txt.
[ftp] dir ar-router.cfg aa.txt
nogroup
0 Aug 08 2006 logfile
nogroup 20471748 May 11 10:21 test.bin
nogroup
4001 Dec 08 2007 config.cfg
nogroup
3608 Jun 13 2007 startup.cfg
nogroup
0 Dec 03 2007 test
nogroup
299 Oct 15 2007 key.pub
6-12

Advertisement

Table of Contents
loading

Table of Contents