如何在 azcopy 中为我网站根目录下的文件夹指定源位置
How to specify source location in azcopy for a folder under root of my website
我在 Azure 上有一个网站。假设 Azure 上的网站 url 是 https://example.com
本站根目录下有一个文件夹~/imgs
,用于存放用户上传的图片。
我可以在下面的命令中使用 https://example.com/imgs
而不是 C:\myDirectory
吗?
我在线查找了 azcopy v10 的文档 (https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-blobs),但找不到任何使用 Web url.
指定源位置的示例
azcopy copy 'C:\myDirectory' 'https://mystorageaccount.dfs.core.windows.net/mycontainer' --recursive
Can I use https://example.com/imgs instead of C:\myDirectory in
command below?
简单的回答是否定的。azcopy
实用程序不支持枚举远程 Web 服务器上文件夹的内容。
我在 Azure 上有一个网站。假设 Azure 上的网站 url 是 https://example.com
本站根目录下有一个文件夹~/imgs
,用于存放用户上传的图片。
我可以在下面的命令中使用 https://example.com/imgs
而不是 C:\myDirectory
吗?
我在线查找了 azcopy v10 的文档 (https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-blobs),但找不到任何使用 Web url.
指定源位置的示例azcopy copy 'C:\myDirectory' 'https://mystorageaccount.dfs.core.windows.net/mycontainer' --recursive
Can I use https://example.com/imgs instead of C:\myDirectory in command below?
简单的回答是否定的。azcopy
实用程序不支持枚举远程 Web 服务器上文件夹的内容。