来自 SAS url 的 Azcopy 给出错误
Azcopy from a SAS url giving errors
我正在尝试从 SAS url 位置复制到目标存储帐户。我尝试了以下命令,但几乎没有错误:
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
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 /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
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.
我想知道这些错误的原因可能是什么。
谢谢
请用引号将整个源参数括起来,因为它包含命令提示符的特殊字符。
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 url 位置复制到目标存储帐户。我尝试了以下命令,但几乎没有错误:
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
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 /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
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.
我想知道这些错误的原因可能是什么。
谢谢
请用引号将整个源参数括起来,因为它包含命令提示符的特殊字符。
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