Here is instructions on how you can install swift client on a Jelastic node to upload or download data.
Log in to the node with ssh, here is a guide on how to do it http://docs.jelastic.com/ssh-access.
First install pip and the swiftly swift client
wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py && python get-pip.py --user .local/bin/pip install swiftly --user
Here is how to upload and download files from Elastx swift.
.local/bin/swiftly -A https://ops.elastx.net:35357/v2.0 -U 'USERNAME' -T 'TENANT' -K 'PASSWORD' put --input=FILENAME /CONTAINERNAME/FILENAME
.local/bin/swiftly -A https://ops.elastx.net:35357/v2.0 -U 'USERNAME' -T 'TENANT' -K 'PASSWORD' get /CONTAINERNAME/FILENAME > FILENAME
Comments
Please sign in to leave a comment.