CLI Reference FTP CLIENT Configuration Commands
Use the copy ftp:url flash:url command to download files.
Use the copy flash:url ftp: url command to upload files.
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
Uses TFTP to transfer files.
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]
Restores the default setting for the specified VRF.
The data connection mode is passive (PASV), file transfer mode is binary, and no local source IP
address is specified.
Global configuration mode
Use this command to restore the default setting of the FTP client.
Restore the default setting of the FTP client.
Ruijie (config)# default ftp-client