Uploading files to Rackspace Cloud Files via the SWIFT uploader

Rackspace Cloud Files is a simple way of backing up or storing files in the cloud.  There is no limit to the amount of data stored in the cloud, as each Gigabyte is billed at 15¢ a GB per month.

Downloading the needed software

To upload files, you will need the SWIFT script written in python.

First start out by downloading the SWIFT script, named st.

wget http://bazaar.launchpad.net/~ttx/swift/1.4.0/download/head:/st.py-20100712220340-zzyjabj9xczdm4cg-15/st

You now need to make this file executable:

chmod 755 st

Using the SWIFT uploader

To list the containers in your account:

./st -s -q -A https://auth.api.rackspacecloud.com/v1.0 \
-U  -K  list

Once you find the container you would like to use, you may then list the contents of that container as well.

./st -s -q -A https://auth.api.rackspacecloud.com/v1.0 \
-U  -K  list container

Note, if you do not have a container setup yet, you may create one during the upload process.