98
ftp> rename a.txt b.txt
350 Enter the name to rename it to...
250 File renamed successfully
reset
Use
reset
to clear the reply information received from the FTP server in the buffer.
Syntax
reset
Views
FTP client view
Predefined user roles
network-admin
Examples
# Clear the reply information received from the FTP server.
ftp> reset
restart
Use
restart
to specify the marker to retransmit a file.
Syntax
restart
marker
Views
FTP client view
Predefined user roles
network-admin
Parameters
marker
: Specifies the retransmit marker.
Usage guidelines
You can perform this operation only after you log in to the FTP server.
Support for this command varies with FTP servers.
Examples
# Retransmit the file
h.c
(82 bytes) from 2 bytes.
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)