azure react js replace folder

Yehudit Yagelnik 1 Reputation point
2021-05-09T08:08:38.917+00:00

How can I replace a folder in azure blob storage, using react js?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,876 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 46,286 Reputation points Microsoft Employee
    2021-05-10T13:26:59.697+00:00

    @Yehudit Yagelnik Welcome to Microsoft Q&A Forum, Thanks for posting your query here!
    Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    Do you want to Modify folder name using react JS? Do you want move to different location of Storage account?

    The best option would be to use the Azure Storage Explorer tool to rename the folder, If not please correct me

    Additional information: By default, storage blob service only has virtual directories, you cannot delete a "directory" with one atomic operation.

    Instead, you can create a storage account with hierarchical namespace enabled (HNS) and check with @azure/storage-file-datalake SDK.

    Azure Data Lake Storage Gen2 Hierarchical Namespace | Microsoft Learn

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.