...
In Depth Features / Tutorial
See usage
Code Block |
---|
swift stat -v swift stat -v container_name swift stat container_name file_name |
...
Create a Container
Code Block |
---|
swift post container_name |
...
Code Block |
---|
echo 'Another file' > another_file_on_my_computer.txt swift post another_file_on_my_computer.txt container_name swift post -m "X-Object-Meta-Hello: World" container_name another_file_on_my_computer.txt swift stat -v container_name another_file_on_my_computer.txt |
...
Download a File
Code Block |
---|
swift download container_name file_on_my_computer.txt |
...
Code Block |
---|
swift post -r '.r:*' container_name |
...
Figure out URL: by finding the AUTH_xxxx string by running swift stat
...
Code Block |
---|
swift post -r '.r:*,.rlistings' container_name swift post -m 'web-listings: true' container_name |
...
And then visit http://swift.cloud.cybera.ca/v1/AUTH_xxxx/container_name to view all the objects (changing AUTH_xxxx for your AUTH information)
...
The first step is to create the secret key for your account:
Code Block |
---|
swift post -m 'X-Account-Meta-Temp-URL-Key: secretkeygoeshere' |
...