Command Manual - System Management
Quidway S3500 Series Ethernet Switches
Chapter 1 File System Management Commands
Huawei Technologies Proprietary
1-22
1.4.9 dir
Syntax
dir
[
filename
] [
localfile
]
View
FTP Client view
Parameter
filename
: File name to be queried.
localfile
: Saved local file name.
Description
Using
dir
command, you can query a specified file.
If no parameter of this command is specified, then all the files in the directory will be
displayed.
Example
# Query the file temp.c and saves the results in the file temp1.
[ftp] dir temp.c temp1
1.4.10 disconnect
Syntax
disconnect
View
FTP Client view
Parameter
None
Description
Using
disconnect
command, subscribers can disconnect FTP client side from FTP
server side without exiting FTP client side view.
This command terminates the control connection and data connection with the remote
FTP Server at the same time.
Example
# Terminate connection with the remote FTP Server and stays in FTP Client view.
[ftp] disconnect