Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Create 3 files and upload them to a Swift container
$ cat index.html
<h1>Index file</h1>
<p>This is the index.html file.</p>
$ cat listing.css
h1 {color: red;}
$ cat 404error.html
<h1>404 File not found!</h1>
<p>We couldn't locate the file you're asking for.</p>
$ for f in index.html listing.css 404error.html; do swift upload my_public_container $f; done
$ swift list my_public_container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment