I have requirement create the copy of container.
I have using the below code.
First create the container and then copy the blob file.
CloudStorageAccount storageAccount = new CloudStorageAccount(new StorageCredentials(accountName, accountKey), true);
CloudBlobClient cloudBlobClient = storageAccount.CreateCloudBlobClient();
CloudBlobContainer sourceContainer = cloudBlobClient.GetContainerReference(containerName);
CloudBlobContainer targetContainer = cloudBlobClient.GetContainerReference(targetContainerName);
string blobName = "";
CloudBlockBlob sourceBlob = sourceContainer.GetBlockBlobReference(blobName);
CloudBlockBlob targetBlob = targetContainer.GetBlockBlobReference(blobName);
targetBlob.StartCopyFromBlob(sourceBlob);
but Its taking the much time. when blob file are more thousands.
so i want to copy full container not one by one blob files.

Bhushan GawalePosted Apr 22, 2016, 1:24 AM
Prakash TripathiPosted Apr 7, 2016, 12:09 AM