Rename blobs without needing to copy them
Copying blobs in order to rename them is a heavy operation, especially when the blob is big, or when you need to change many files, such as when changing a directory name.
Our apologies for not updating this ask earlier. Renaming Blobs is on our backlog, but is unlikely to be released in the coming year. Today, you can use the “Copy Blob” API as a workaround.
Using the Azure Files service you can address Azure Storage like a network share using the SMB2.1 protocol. This enables usage of normal Windows API’s to rename files and directories. You can get started with the Files service by visiting https://docs.microsoft.com/en-us/azure/storage/storage-dotnet-how-to-use-files.
For any further questions, or to discuss your specific scenario, send us an email at email@example.com.
Alfred Kosgey commented
We really need a rename capability - copying files to a new folder is heavy, especially if you have large datasets.
pls implement this, why Azure is so tough on life-needed features!
Indulis Misiņš commented
Please implement this. Really needed feature.
Hello? Is there anybody out there?
Rename requested - 6/2013
Under review - 11/2016
<No Microsoft solution here> - 12/2020
Please add soon!!!!!
Now it's 2020, we still waiting this feature....
Is renaming Blob still in a backlog (after 4 years)? I do not see this feature added to the latest Java SDK v12.
Mihir Pagnis commented
you can always use Clone with New Name feature in Azure storage explorer to rename any blob
explained here follow https://github.com/microsoft/AzureStorageExplorer/issues/2440
This would be very useful indeed on the blob storage
is this still in your backlog from 4 years ago? Rename seems like a rudimentary thing to have missed...
Nicholas Cardi commented
This is a basic file operation. I really don’t understand why we can’t get this done
Graham Huck commented
Just chiming in to say that this is still a thing that would be very useful to have. The work-arounds to renaming files/folders in blob storage puts the risk and complexity of achieving this on us, the customers, which for a feature that is seemingly so old and ubiquitous within file systems/storage, it seems a bit silly.
"Rename" feature in the later versions of Azure Storage Explorer was also replaced with "Clone with new name" feature!!
I don't get it!
We'd love to hear the reasoning behind this, as I assume there is one. Right?
Jason Smedley commented
Please provide this feature. I know at the base level copy and paste is the same, but lets build something for everyone. User empathy time please.
Ezra Epstein commented
This is part of Microsoft's cloud business "strategy." Like all things MS they give two sh.... about quality, they optimize for revenue and bragging rights. Copying data costs money... which means more revenue for Microsoft. As utterly dumb as that is, that's the way they make their business decisions. It is quite literally the antithesis of Amazon's customer-centric approach. Other than folks being conned into using their platform, Microsoft's cloud would be out of business.
Same with their VMs. It's a pattern. Most things on Azure require a custom VM, which adds to not only their ability to fleece folks for money (don't get me started on the cost of a software firewall - a built-in feature of both AWS and Google Cloud), all these extra VMs let MS brag that they are #2 in the cloud. Well, sure, when all your customers have to spin up 10x the number of machines as on a cloud like Googles, it is not a surprise.
Yuttakonkit, Yuttakon [Accenture] commented
Still waiting, for this feature with notice that you already have a renaming feature in Azure Storage Explorer.
This is where we would be hoping for a .Rename method.
You guys still need to write an in-place rename method (iislog.csv --> iislog.csv.processed). You already know this, but just figured I would remind you. It's clearly more complicated on the backend than we understand, which probably explains why you push the processing (copy/delete) down to us.
And btw... Microsoft.Azure.Storage.File.CloudFile doesn't have a rename method either.
But using files doesn't work for me because you don't have File event triggers in Data Factories. The only event I can develop against is Blob events (create and delete).
Plus... most network administrators in most companies these days love to run around blocking SMB ports with their firewalls, so Microsoft.Azure.Storage. API (talking to the webservices on the back end) is the only option available to me.
copy/remove is okay in quite a few scenario's, but in combination with Media Services it's not viable