Azcopy from a SAS url giving errors

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 /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

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 CSR316.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.

Can anyone please tell what could be the reason Azcopy is throwing these errors.

Thanks

August 24th, 2015 10:09pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics