103
ftp> put h.c h.c
local: h.c remote: h.c
350 Restart position accepted (2).
150 Ok to send data.
226 File receive OK.
80 bytes sent in 0.000445 seconds (175.6 kbyte/s)
ftp> dir
150 Here comes the directory listing.
-rw-r--r-- 1 0 0 82 Jul 18 02:58 h.c
rhelp
Use
rhelp
to display the FTP-related commands supported by the FTP server.
Use
rhelp
protocol
-
command
to display the help information of an FTP-related command supported
by the FTP server.
Syntax
rhelp
[
protocol
-
command
]
Views
FTP client view
Predefined user roles
network-admin
mdc-admin
Parameters
protocol
-
command
: Specifies an FTP-related command.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
Examples
# Display the FTP-related commands supported by the FTP.
ftp> rhelp
214-The following FTP commands are recognized
USER PASS NOOP QUIT SYST TYPE
HELP CWD XCWD PWD CDUP XCUP
XPWD LIST NLST MLSD PORT EPRT
PASV EPSV REST RETR STOR APPE
DELE MKD XMKD RMD XRMD ABOR
SIZE RNFR RNTO
4 UNIX Type: L8
Table 12 Command output
Field Description
USER
Username, corresponding to the xx command in FTP client
view.
PASS Password.
NOOP Null
operation.