H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – FTP and TFTP
H3C S7500 Series Ethernet Switches Chapter 1
FTP and TFTP Configuration Commands
1-10
View
FTP client view
Parameters
remotefile: Name of the file to be deleted.
Description
Use the delete command to delete a specified remote file.
Examples
# Enter FTP client view.
<H3C> 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]
# Delete the file named temp.c.
[ftp] delete temp.c
250 DELE command successful.
1.2.9 dir
Syntax
dir [ filename [ localfile ] ]
View
FTP client view
Parameters
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.