azure storage blobs - Azcopy from a SAS url giving errors -


i trying copy sas url location destination storage account. tried following commands 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 filename1.vhd /y

the syntax of command incorrect. invalid sas token in parameter "source". 'sr' not recognized internal or external command, operable program or batch file. 'sig' not recognized internal or external command, operable program or batch file. 'st' not recognized internal or external command, operable program or batch file. 'se' not recognized internal or external command, operable program or batch file. 'sp' not recognized 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 command incorrect. invalid sas token in parameter "sourcesas". 'sr' not recognized internal or external command, operable program or batch file. 'sig' not recognized internal or external command, operable program or batch file. 'st' not recognized internal or external command, operable program or batch file. 'se' not recognized internal or external command, operable program or batch file. 'sp' not recognized internal or external command, operable program or batch file.

i wondering reason these errors.

thanks

please surround whole source argument quotes, since contains special characters 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 

Comments

Popular posts from this blog

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -