none
Azure blob storage split blobs and store on Cloud file share

    Question

  • I am uploading zip files to Azure Blob Storage which are relatively huge.

    Now I need to go to those containers, get the blob reference and store that zip file into multiple zips on Cloud file share. I am not sure how to proceed with that.

    var storageAccount = AzureUtility.CreateStorageAccountFromConnectionString();
                var container = AzureUtility.GetAzureCloudBlobContainerReference("fabcd");
                CloudFileClient fileClient = storageAccount.CreateCloudFileClient();
                CloudFileShare share = fileClient.GetShareReference("sample-share");
                share.CreateIfNotExists();
    
                CloudBlockBlob sourceBlob = container.GetBlockBlobReference("Test.zip");
                var file = share.GetRootDirectoryReference().GetFileReference("Test.zip").Exists();
    
    if(file)
    {
         //split and share
    }

    any suggestions

    Wednesday, November 4, 2015 6:41 PM

Answers

All replies