Appending files directly to an existing ZIP file stored in an Azure Blob Storage container isn't natively supported by Azure Blob Storage.
Alternative approaches
https://josef.codes/azure-storage-zip-multiple-files-using-azure-functions/
- Azure Blob Storage supports append blobs, which are designed for append operations. While this doesn't directly allow appending to a ZIP file, it does provide a way to append data to a blob. Append blobs are similar to block blobs but are optimized for append operations, making them suitable for scenarios like logging data. However, this method would require a different approach to file storage and management, as it doesn't work with ZIP files directly
- Another approach is to use Azure Functions, which can be triggered by events (like a file upload) to perform operations on blobs. This could involve downloading the existing ZIP, adding new files, and re-uploading it. While this approach requires downloading and re-uploading the ZIP file, it can be fully automated using Azure Functions.