来自SAS网址的Azcopy提供错误 [英] Azcopy from a SAS url giving errors

查看:96
本文介绍了来自SAS网址的Azcopy提供错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从SAS URL位置复制到目标存储帐户.我尝试了以下命令,但得到的错误很少:

I am trying to copy from a SAS url location to a destination storage account. I tried the following commands but it getting few errors:

AzCopy.exe/源: https://yyyyyyy.blob.core.windows.net/vhds /Destkey:zzzzzzzzzzzzzzzzzzzzz filename1.vhd/Y

AzCopy.exe /Source:http://wwwwww.blob.core.windows.net/vhd1/?sv=2014-02-14&sr=c&sig=xxxxxxxxxxxxxxxxx&st=2015-08-05T04%3A00%3A00Z&se=2015-09-01T04%3A00%3A00Z&sp=rl /Dest:https://yyyyyyyy.blob.core.windows.net/vhds /Destkey:zzzzzzzzzzzzzzzzzzz filename1.vhd /Y

该命令的语法不正确.参数源"中的SAS令牌无效.无法将"sr"识别为内部或外部命令,可操作的程序或批处理文件.无法将"sig"识别为内部或外部命令,可操作的程序或批处理文件.'st'不被识别为内部或外部命令,可操作的程序或批处理文件."se"未被识别为内部或外部命令,可操作的程序或批处理文件.无法将"sp"识别为内部或外部命令,可操作的程序或批处理文件.

The syntax of the command is incorrect. Invalid SAS token in parameter "Source". 'sr' is not recognized as an internal or external command, operable program or batch file. 'sig' is not recognized as an internal or external command, operable program or batch file. 'st' is not recognized as an internal or external command, operable program or batch file. 'se' is not recognized as an internal or external command, operable program or batch file. 'sp' is not recognized as an internal or external command, operable program or batch file.

AzCopy.exe/来源: http://wwwwwwww.blob.core.windows.net/vhd1 /目标: https://xxxxxxxxxx.blob.core.windows.net/vhds/SourceSAS:?sv = 2014-02-14& sr = c& sig = yyyyyyyyyy& sp = rl/Destkey:zzzzzzzzz filename1.vhd/Y

AzCopy.exe /Source:http://wwwwwwww.blob.core.windows.net/vhd1 /Dest:https://xxxxxxxxxx.blob.core.windows.net/vhds /SourceSAS:?sv=2014-02-14&sr=c&sig=yyyyyyyyyy&sp=rl /Destkey:zzzzzzzzz filename1.vhd /Y

该命令的语法不正确.参数"SourceSAS"中的SAS令牌无效.无法将"sr"识别为内部或外部命令,可操作的程序或批处理文件.无法将"sig"识别为内部或外部命令,可操作的程序或批处理文件.'st'不被识别为内部或外部命令,可操作的程序或批处理文件."se"未被识别为内部或外部命令,可操作的程序或批处理文件.无法将"sp"识别为内部或外部命令,可操作的程序或批处理文件.

The syntax of the command is incorrect. Invalid SAS token in parameter "SourceSAS". 'sr' is not recognized as an internal or external command, operable program or batch file. 'sig' is not recognized as an internal or external command, operable program or batch file. 'st' is not recognized as an internal or external command, operable program or batch file. 'se' is not recognized as an internal or external command, operable program or batch file. 'sp' is not recognized as an internal or external command, operable program or batch file.

我想知道这些错误的原因可能是什么.

I am wondering what could be the reason for these errors.

谢谢

推荐答案

请在整个源参数中加上引号,因为它包含命令提示符下的特殊字符.

Please surround your whole source argument with quotes, since it contains special characters to command prompt.

AzCopy.exe /Source:"http://wwwwww.blob.core.windows.net/vhd1/?sv=2014-02-14&sr=c&sig=xxxxxxxxxxxxxxxxx&st=2015-08-05T04%3A00%3A00Z&se=2015-09-01T04%3A00%3A00Z&sp=rl" /Dest:https://yyyyyyyy.blob.core.windows.net/vhds /Destkey:zzzzzzzzzzzzzzzzzzz CSR316.vhd /Y

这篇关于来自SAS网址的Azcopy提供错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆