Command Reference FTP Client Commands
Usage
Guidelines
Use the copy ftp:url flash:url command to download files.
Use the copy flash:url ftp: url command to upload files.
Examples The username is user; password is pass, IP address is 192.168.23.69. Download the file named
remote-file under the root directory of the FTP server to the home directory of the device, and save it
as local-file.
Ruijie# copy ftp://user:pass@192.168.23.69/root/remote-file flash:home/local-file
Upload the file local-file under the home directory of the device to the root directory of the FTP server,
and save it as remote-file.
Ruijie# copy flash:home/local-file ftp://user:pass@192.168.23.69/root/remote-file
Related
Commands
Command Description
N/A N/A
Platform
Description
-
default ftp-client
Use the default ftp-client command to restore the default setting of the FTP client in the global
configuration mode, namely, passive (PASV) mode for data connection, binary mode for file transfer,
and client source IP address not bound.
default ftp-client [vrf vrfname]
Parameter
Description
Parameter Description
vrfname
Restores the default setting for the specified VRF.
Defaults
The data connection mode is passive (PASV), file transfer mode is binary, and no local source IP
address is specified.
Command
Modes
Global configuration mode
Usage
Guidelines
Use this command to restore the default setting of the FTP client.
Examples
Restore the default setting of the FTP client.
Ruijie (config)# default ftp-client
Related
Command Description