Reputation: 397
I've been working with Azure Data Lake, uploading and downloading files, but now I've been requested to download a complete folder (as a zip or any compressed format), I didn't find a way to do it with SDK.
Is there any way to compress a folder to download it?
Best regards
Upvotes: 1
Views: 1316
Reputation: 1430
We can only download the folder and then compress it, because there are no option to compress it before you download. Else, alternative to use Azure Data Factory- Copy Activity, where in the sink we can have to copy activity we can have the compressed version which supported by ADF- mentioned in the snip2- where in the sink you will have the option to choose from the Compression type along with Compression level.
Snip 1 - where you can only download the files and folder from Azure Datalake .
Snip 2 -where I have used Copy Activity-ADF to copy files to Azure DataLake
Supported file formats and compression codecs by copy activity in Azure Data Factory
Upvotes: 2