$ swift post cont01
Dashboard will show the container information
Now I try upload a test file
$ swift upload cont01 test.txt
Now it shows
- Object Count: 1
- Size: 6 bytes
$ mv test.txt test.txt.bak
$ swift download cont01 test.txt
test.txt [auth 0.164s, headers 0.205s, total 0.205s, 0.000 MB/s]
$ ls -al test*
-rw-rw-r--. 1 openstack openstack 6 Jun 26 11:33 test.txt
-rw-rw-r--. 1 openstack openstack 6 Jun 26 11:33 test.txt.bak
I noticed that the file permission and timestamps are preserved.
No comments:
Post a Comment