Dir - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – FTP and TFTP
Quidway S3900 Series Ethernet Switches-Release 1510
[ftp] delete temp.c
250 DELE command successful.

1.2.9 dir

Syntax
dir [ filename [ localfile ] ]
View
FTP client view
Parameter
filename: Name of the file to be queried.
localfile: Name of the local file where the query result is to be saved.
Description
Use the dir command to query specified files on a remote FTP server, or to display file
information in the current directory. The output information, which includes the name,
size and creation time of files, will be saved in a local file.
If you do not specify the filename argument, the information about all the files in the
current directory is displayed.
Example
# Enter FTP client view.
<Quidway> ftp 2.2.2.2
Trying ...
Press CTRL+K to abort
Connected.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(none):switch
331 Give me your password, please
Password:
230 Logged in successfully
[ftp]
# Display the information about all the files in the current directory on the remote FTP
server.
[ftp] dir
200 PORT command okay
7 File Listing Follows in ASCII mode
-rwxrwxrwx
-rwxrwxrwx
1 noone
nogroup
1 noone
nogroup
Huawei Technologies Proprietary
1-13
430585 Dec 21
2004 4.bin
430585 Dec 21
2004 5.bin
Chapter 1 FTP and TFTP

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents