How to upload files to a Windows Azure Storage

Eytch picture Eytch · Apr 3, 2014 · Viewed 39.3k times · Source

I'm trying to publish a package that has 800mb+. But the Windows Azure publish only allows up to 600mb, so maybe I need to upload some unstructured files first to Windows Azure storage.

What's the best way to upload files to a Windows Azure storage?

Answer

David Makogon picture David Makogon · Apr 5, 2014

what's the best way to upload files to a windows azure storage?

There's no best way - you'll need to decide that for yourself. But... here are a few options:

  • Create an app, using one of the language SDKs (.NET, PHP, Ruby, Java, Node, Python, Node). The SDKs each have coverage of blob storage, allowing you to create an upload app. You could also make direct REST API calls instead of using the SDK. You'll find many examples of this around the web, including this .NET sample on the Azure.com site.
  • Call the PowerShell command Set-AzureStorageBlobContent, which copies a local file to a blob
  • Call the Azure cross-platform CLI command azure storage blob upload, which copies a local file to a blob
  • Use a storage copy tool. The Azure team provides AzCopy. There are 3rd-party tools as well. The Azure Storage team recently blogged about various 3rd-party tools available.