
98
Predefined user roles
network-admin
Examples
# Clear the reply information received from the FTP server.
ftp> reset
restart
Use
restart
to specify the file retransmission offset.
Syntax
restart
marker
Views
FTP client view
Predefined user roles
network-admin
Parameters
marker
: Specifies the retransmission offset, in bytes.
Usage guidelines
The file retransmission starts from the (1)th byte.
You can perform this operation only after you log in to the FTP server.
Support for this command depends on the FTP server.
Examples
# Set retransmission offset to 2 bytes and retransmit the file
h.c
. The file has 82 bytes in total.
ftp> restart 2
restarting at 2. execute get, put or append to initiate transfer
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 80 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
]