You want to use FTP on a local Linux computer to transfer files between the computer and a Linux ECS.
You have enabled FTP on the target ECS. If you have not enabled FTP, check the following links to know how to set up an FTP site:
Take CentOS 7.6 as an example. Run the following command to install FTP:
yum -y install ftp
ftp EIP bound to the ECS
Run the following command to upload local files to the ECS:
put Path in which files are stored on the local computer
For example, to upload the /home/test.txt file on the local Linux computer to the ECS, run the following command:
put /home/test.txt
Run the following command to download files on the ECS to the local computer:
get Path in which the files are stored on the ECS Path in which the files are to be stored on the local computer
For example, to download the test.txt file on the ECS to the local Linux computer, run the following command:
get /home/test.txt