'How to zip my file in azure fileshare using FileShareClient?
I need to zip my file in fileshare. I have gone through few process and they all suggested methods for blob. Any link or advice that would be helpful for me to proceed?
I can't use Azure Data Factory because of cost issue and I have already gone through these links: link1 and link2. In these link they have used blockblobclient.downloadto
method which is not present in fileshareclient
Solution 1:[1]
Using Azure Data Factory, it supports Azure Blob Storage (see link below). This is a better approach, but as you mention, there is a tutorial that can help you with zipping files and storing them to Azure Storage.
Tutorial: https://josef.codes/azure-storage-zip-multiple-files-using-azure-functions/
Supported formats: https://docs.microsoft.com/en-us/azure/data-factory/copy-activity-overview#supported-data-stores-and-formats
Using Data Factory: https://docs.microsoft.com/en-us/azure/data-factory/tutorial-copy-data-portal
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Elvis Pimentel |