unzip a file from blob storage to File share without using windows API

Anonymous
2022-07-13T09:32:30.907+00:00

Is there any way to unzip a file from blob storage to File share without using windows api like system.io.ZIPFile because I am getting Path too long or sometimes it is removing the character above 258 so I am getting directory not found error.

Basically I am uploading the zip file to the blob container and then extracting it to the directory and then uploading it to azure File share. For extracting I am using system.io.ZipFile.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,420 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 47,466 Reputation points Microsoft Employee Moderator
    2022-07-14T05:38:23.41+00:00

    @Anonymous There is no such inbuilt functionality in Azure storage. So it is not possible.

    However there is some workaround in this blog, please refer to the suggestion in the blog which gives some idea on your scenario.

    There are few threads in SO forum which refer to unzip files of blob storage

    Please let us know if you have any further queries. I’m happy to assist you further.

    ----------

    Please do not forget to 220560-screenshot-2021-12-10-121802.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


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.