102
(to-name) b.txt
350 Enter the name to rename it to...
250 File renamed successfully
•
Method 3
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
mdc-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
mdc-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 varies with FTP servers.
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