作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我一直在使用 Azure Data Lake 上传和下载文件,但现在我被要求下载完整的文件夹(作为 zip 或任何压缩格式),我没有找到方法带SDK。
有没有办法压缩文件夹来下载?
致以诚挚的问候
最佳答案
我们只能下载该文件夹然后压缩它,因为在下载之前没有压缩它的选项。否则,可以使用Azure Data Factory- Copy Activity ,在接收器中我们可以复制事件,我们可以获得 ADF 支持的压缩版本 - 在 snip2 中提到 - 在接收器中您可以选择压缩类型和压缩级别。
片段 1 - 您只能从 Azure Datalake 下载文件和文件夹。
Snip 2 - 我使用 Copy Activity-ADF 将文件复制到 Azure DataLake
Supported file formats and compression codecs by copy activity in Azure Data Factory
关于Azure数据湖: How to compress and download a folder,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68219824/
我是一名优秀的程序员,十分优秀!