locked
Uploading Blobs to storage - Easy Method?? RRS feed

  • Question

  • Is there any easy way to upload blobs to storage without having to create an application that interfaces with the API? I saw on CodePlex that there is a FTP tool but it looks like you have to create some kind of service layer. Is there a really easy straightforward method?  Thanks!
    Tuesday, November 8, 2011 9:45 PM

Answers

  • There are various free and commercial Azure Storage utilities around. The one I use is Cerebrata's Cloud Storage Studio.
    • Marked as answer by AZDev-IOrtiz Wednesday, November 9, 2011 2:39 PM
    Tuesday, November 8, 2011 10:13 PM
    Answerer
  • Hi - thanks for the question.  There's a number of tools that hep with this.  Take a look at our blog post summarizing them here: http://blogs.msdn.com/b/windowsazurestorage/archive/2010/04/17/windows-azure-storage-explorers.aspx

    Additionally, if you use the Microsoft.WindowsAzure.StorageClient library (included in the Windows Azure SDK), the code for uploading a blob is quite straightforward, so writing an application might not be too difficult (if you want to go that route).  Here's a sample that would upload a single file:

    var credentials = new StorageCredentialsAccountAndKey(StorageAccountName, StorageKey);
    var accountUri = String.Format("http://{0}.blob.core.windows.net/", StorageAccountName);
    var blobClient = new CloudBlobClient(accountUri, credentials);
    var container = blobClient.GetContainerReference("mycontainer");
    container.CreateIfNotExist();
    var blob = container.GetBlobReference("myblob");
    blob.UploadFile("filepath");

    Note: change the "http" to "https" if you'd like to use https for the uploads.

    Hope that helps, let me know if you have any questions.


    -Jeff
    • Marked as answer by AZDev-IOrtiz Wednesday, November 9, 2011 2:39 PM
    Wednesday, November 9, 2011 2:02 AM
  • This is free and open source tool from the same codeplex http://azurestorageexplorer.codeplex.com/

    I use it day in and day out. It is perfect.

    By the way even Cerebrata's commercial one is also great.

    • Marked as answer by AZDev-IOrtiz Wednesday, November 9, 2011 2:39 PM
    Wednesday, November 9, 2011 2:39 AM

All replies

  • There are various free and commercial Azure Storage utilities around. The one I use is Cerebrata's Cloud Storage Studio.
    • Marked as answer by AZDev-IOrtiz Wednesday, November 9, 2011 2:39 PM
    Tuesday, November 8, 2011 10:13 PM
    Answerer
  • Hi - thanks for the question.  There's a number of tools that hep with this.  Take a look at our blog post summarizing them here: http://blogs.msdn.com/b/windowsazurestorage/archive/2010/04/17/windows-azure-storage-explorers.aspx

    Additionally, if you use the Microsoft.WindowsAzure.StorageClient library (included in the Windows Azure SDK), the code for uploading a blob is quite straightforward, so writing an application might not be too difficult (if you want to go that route).  Here's a sample that would upload a single file:

    var credentials = new StorageCredentialsAccountAndKey(StorageAccountName, StorageKey);
    var accountUri = String.Format("http://{0}.blob.core.windows.net/", StorageAccountName);
    var blobClient = new CloudBlobClient(accountUri, credentials);
    var container = blobClient.GetContainerReference("mycontainer");
    container.CreateIfNotExist();
    var blob = container.GetBlobReference("myblob");
    blob.UploadFile("filepath");

    Note: change the "http" to "https" if you'd like to use https for the uploads.

    Hope that helps, let me know if you have any questions.


    -Jeff
    • Marked as answer by AZDev-IOrtiz Wednesday, November 9, 2011 2:39 PM
    Wednesday, November 9, 2011 2:02 AM
  • This is free and open source tool from the same codeplex http://azurestorageexplorer.codeplex.com/

    I use it day in and day out. It is perfect.

    By the way even Cerebrata's commercial one is also great.

    • Marked as answer by AZDev-IOrtiz Wednesday, November 9, 2011 2:39 PM
    Wednesday, November 9, 2011 2:39 AM
  • I'm having excellent success also with Azure Storage Explorer @ http://azurestorageexplorer.codeplex.com/

     

    Wednesday, November 9, 2011 2:37 PM
  • Thanks, that's one that I found too!! This really is an excellent tool! Has been working great!

    Wednesday, November 9, 2011 2:38 PM
  • Fantastic!! We will need to use the API programmatically also so this is excellent! Thanks Jeff for your help!
    Wednesday, November 9, 2011 2:40 PM