Command Manual – System Management
Quidway S8500 Series Routing Switches
Parameter
filename: File name to be queried.
localfile: Saved local file name.
Description
Use the dir command to 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.
<Quidway> ftp
[ftp] dir temp.c temp1
1.4.10 disconnect
Syntax
disconnect
View
FTP Client view
Parameter
None
Description
Use the disconnect command to 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.
<Quidway> ftp
[ftp] disconnect
1.4.11 ftp
Syntax
ftp [ ipaddress [ port ] ]
Chapter 1 File System Management Commands
Huawei Technologies Proprietary
1-33