R0106-HP MSR Router Series Fundamentals Command Reference(V7)

98
ftp> debug
Debugging on (debug=1).
ftp> debug
Debugging off (debug=0).
# When the device serves as the FTP client, enable FTP client debugging and download file a.txt from the
current directory of the FTP server.
ftp> debug
Debugging on (debug=1).
ftp> get a.txt
local: a.txt remote: a.txt
---> EPRT |2|8::124|50198|
200 PORT command successful
---> RETR a.txt
150 Connecting to port 50198
226 File successfully transferred
1569 bytes received in 0.0104 seconds (147.2 kbyte/s)
Table 11 Command output
Field Descri
p
tion
---> EPRT |2|8::124|50198|
FTP command.
2—IPv6 (1 for IPv4).
8::124—IPv6 address of the FTP server.
50198—Port number of the FTP server.
200 PORT command successful
Received FTP reply code. 200 represents the reply
code, defined in RFC 959.
---> RETR a.txt Downloads file a.txt.
delete
Use delete to permanently delete a file on the FTP server.
Syntax
delete remotefile
Views
FTP client view
Predefined user roles
network-admin
Parameters
remotefile: Specifies the name of a file on the FTP server.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
To perform this operation, you must have delete permission on the FTP server.