Azure / azure-storage-net-data-movement

Azure Storage Data Movement Library for .Net
MIT License
276 stars 132 forks source link

Copying files from one azure blob storage account to another #302

Open michaelbrichko opened 1 year ago

michaelbrichko commented 1 year ago

Hi,

I've tried the latest nuget available, I was able to copy a single file but when I try to copy many files using CopyDirectoryAsync(), it seem to do just nothing and there are no errors.

I've tried changing log level to verbose. It didn't help. I've tried running BlobDirectoryCopySample() from https://github.com/Azure/azure-storage-net-data-movement/blob/ec0c1e81db307c8d9ed2db90118792cd3c8330b6/samples/DataMovementSamples/DataMovementSamples/Samples.cs but but it didn't copy anything for me.

I'm able to copy a single file using CopyAsync (and list blobs) so my input parameters must be fine but CopyDirectoryAsync() doesn't seem to work.

Am I missing something or this API isn't supported? Is there a way to debug it ?