https://github.com/FBoucher/AzUnzipEverything
A simple Azure Function to Unzip files from a blob storage container to another one
The following features are supported in this current version:
- Supported Archive Types: .zip, .rar
Archive support is currently implemented using the sharpcompress library - Password protetected zip files
The current solution provisions an Azure KeyVault instance for storing the zip archive(s) password used during the unzipping process. If password protected zip files are uploaded to the blob storage container, this would be the password used when attempting to un-zip the files into the destination storage container.*
How to deploy
To deploy all the resources in your Azure subscription, just click on the Deploy to Azure button
How to use it.
You can upload files to an Azure Blob storage using many different tools and code, but for this quick introduction let’s use the Azure Portal.
Once deployed, open the Azure portal portal.azure.com
- navigate to the resource Group you just deployed (ex: demoAzUnzipEverything).
- Select the Storage Account whose name starts with “dropzone”.
- Click on Blobs, in the middle of the screen.
- Click on the input-files container.
- Click on the Upload button, and you can now upload a zip file.
- After a few second the files you uploaded will be Unzipped into the blob storage container output-files.