This post will show you how to perform common scenarios using the Azure Blob service. The samples are written using the Ruby API. The scenarios covered include uploading, listing, downloading, and deleting blobs.
You can download final ruby script from here.
This post assumes you have already created a storage account and a container.
- Type "gem install azure" in the command window to install the gem and dependencies.
- Import installed package in to the script file.
- Setup global parameters.
- Uploading a Blob into a Container
- List the Blobs in a Container
- Download Blobs
- Delete a Blob
No comments:
Post a Comment