清除卡住的blob上传作业

时间:2017-06-23 16:18:19

标签: azure-storage-blobs azure-powershell

我不确定我是如何进入这种状态的,但每当我尝试在计算机上上传某个blob时

Set-AzureStorageBlobContent -Container $containerName -File $fileName -Blob $fileName -force

我一直收到此错误,告诉我传输操作正在进行中:

Set-AzureStorageBlobContent : A transfer operation with the same source and destination already exists.
At C:\_SOURCECODE\FooProject\Deployment\AzureBlobSync_tasks.ps1:46 char:17
+ ...             Set-AzureStorageBlobContent -Container $containerName -Fi ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Set-AzureStorageBlobContent], TransferException
    + FullyQualifiedErrorId : TransferException,Microsoft.WindowsAzure.Commands.Storage.Blob.SetAzureBlobContentCommand

我只是取消正在进行的转移操作并重新开始,但我该怎么做?

0 个答案:

没有答案