gpt4 book ai didi

azure - 如何将文件从 azure blob 存储上传到在 azure 上创建的 Linux VM

转载 作者:行者123 更新时间:2023-12-02 07:39:39 26 4
gpt4 key购买 nike

我的 azure blob 存储容器上有一个大文件。我想将文件从 blob 存储移动到在 azure 上创建的 Linux VM> 如何使用数据工厂执行此操作?或任何 Powershell 命令?

最佳答案

最简单且无需任何工具的方法是为 blob 生成 SAS token 并运行 CURL。

生成 SAS

enter image description here

然后是 CURL

curl <blob_sas_url> -o output.txt

如果您每次都需要自动执行此操作,可以从脚本生成 SAS URL 或仅使用 AzCopy。

关于azure - 如何将文件从 azure blob 存储上传到在 azure 上创建的 Linux VM,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57721242/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com