Configuration Guide FTP Client Configuration
If Flash URL contains the "directory" field, the user must ensure that such directory has been created on
the device. Automatic directory creation is not supported by this download command.
Example of File Download
Using username of "user" and password of "pass" to download a file named "remote-file" from the directory "root" on FTP
Server with IP address being 192.168.23.69 to directory "home" on the local device, and change the name to "local-file".
Ruijie# copy ftp://user:pass@192.168.23.69/root/remote-file flash: home/local-file
Uploading File
In CLI command mode, execute the following steps to complete file upload:
Before uploading, launch FTP Server program on the host and then log into the device. In privileged EXEC mode, execute
the following command to upload file. The key word "dest-address" specifies the IP address of FTP Server.
Ruijie# copy flash:[local-directory/]local-file
ftp:
//username:password@dest-address[/remote-directory]/re
mote-file [vrf vrfname]
Please refer to the previous command for descriptions of key words and parameters.
Example of File Upload
Using username of "user" and password of "pass" to upload a file named "local-file" from the directory "home" on the
device to directory "root" on FTP Server, and change the name to "remote-file".
Ruijie# copy flash: home/local-file ftp://user:pass@192.168.23.69/root/remote-file