sçuçu
sçuçu

Reputation: 3070

Copying blob from private blob container to public blob container in Azure

We have two blob containers on Azure Storage. One is private and the other is public. I want to make a blob in private container a publicly accessible one on my application.

I am trying to copy blob from private to public container. I have found this on docs - Copy Blob. However, I could not manage to successfully to this operation and cannot find detailed explanations.

Last error I get is about Authorization header are not formed properly. Another previous one was about Date header not proper but I have solved it by new Date().toUTCString() instead of new Date().

What am I missing here?

Upvotes: 0

Views: 280

Answers (1)

Ivan Glasenberg
Ivan Glasenberg

Reputation: 29940

I suggest you can use node.js sdk, then use the method startCopyBlob. By using rest api, it will take a few time to construct the authentication and not easy.

Upvotes: 1

Related Questions