To upload files to Rackspace Cloud Files using the FTP command on a Linux or Unix system, follow these steps:
apt-get install ftp
ftp cloudfiles.rackspacecloud.com
When prompted, enter your Rackspace Cloud username and password.
Change to the desired directory on the Cloud Files server using the cd
command. For example:
cd container_name
Replace container_name
with the name of the container where you want to upload the files.
put
command to upload the files to the Cloud Files server. For example:put file1.txt put file2.zip
This will upload the file1.txt
and file2.zip
files to the Cloud Files server.
bye
command to close the FTP connection.Note: Make sure that you have the necessary permissions to access the Cloud Files server and to upload files to the specified container.