I would like to copy a Blob from "Azure storage" to my "Local storage" (Emulator) with powershell.
I am using "Start-AzureStorageBlobCopy"
It's working well between "Azure" to "Azure" storage. But for an "Azure" to "Local" (emulator) storage, blobs are copied but with 0 byte. Blobs are created because I can see them in the Storage Explorer.
In the Azure Storage Explorer, I have the following properties :
- CopyProgress: 0/34550784
- CopyStatus: failed
I've no error in Powershell during the copy. But 0 bytes are transferred
VERBOSE: Performing the operation "Copy" on target "https://xxxxx.blob.core.windows.net/aaaa.db".
VERBOSE: Copy request to blob 'aaaaaa.db' in container 'yyyyy' has been scheduled with copyId 865e4d31-6729-44d1-997d-fdb76409d6cb.
ICloudBlob : Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob
BlobType : BlockBlob
Length : 0
ContentType :
LastModified : 9/10/2017 2:10:45 PM +00:00
SnapshotTime :
ContinuationToken :
Context : Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext
Name : aaaaaa.db
VERBOSE: Transfer Summary
--------------------------------
Total: 1.
Successful: 1.
Failed: 0.