Dir - HP FlexFabric 7900 Series Command Reference Manual

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

dir

Use dir to display detailed information about the files and subdirectories in the current directory on
the FTP server.
Use dir remotefile to display detailed information about a specific file or directory on the FTP server.
Use dir remotefile localfile to save detailed information about a specific file or directory on the FTP
server to a local file.
Syntax
dir [ remotefile [ localfile ] ]
Views
FTP client view
Predefined user roles
network-admin
mdc-admin
Parameters
remotefile: Specifies the name of a file or directory on the FTP server.
localfile: Specifies the name of the local file used for saving the displayed information.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
In FTP client view, executing the dir command is the same as executing the ls command.
Examples
# Display detailed information about the files and subdirectories in the current directory on the FTP
server.
ftp> dir
227 Entering Passive Mode (10,153,116,114,11,9)
150 File Listing Follows in ASCII mode
drwxrwxrwx
drwxrwxrwx
-rwxrwxrwx
-rwxrwxrwx
drwxrwxrwx
drwxrwxrwx
drwxrwxrwx
226 Transfer finished successfully.
# 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
227 Entering Passive Mode (10,153,116,114,11,34)
150 File Listing Follows in ASCII mode
226 Transfer finished successfully.
# Display the content of file s.txt.
ftp> bye
221 Windows FTP Server (WFTPD, by Texas Imperial Software) says goodbye
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup 97401856 Feb 27 12:28 125X.ipe
1 noone
nogroup
1 noone
nogroup
1 noone
nogroup
0 Apr
8 15:15 .
0 Apr
8 15:15 ..
6324 Apr
8 14:48 1.txt
0 Mar 26 14:30 Compatiable
0 Mar 26 14:30 Incompatiable
0 Apr
1 15:34 aa
87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents