# NOT RUN {
endp <- storage_endpoint("https://mystorage.blob.core.windows.net", sas="mysas")
cont <- storage_container(endp, "mycontainer")
# print various help screens
call_azcopy("help")
call_azcopy("help", "copy")
# calling azcopy to download a blob
storage_download(cont, "myblob.csv", use_azcopy=TRUE)
# calling azcopy directly (must specify the SAS explicitly in the source URL)
call_azcopy("copy",
"https://mystorage.blob.core.windows.net/mycontainer/myblob.csv?mysas",
"myblob.csv")
# }
Run the code above in your browser using DataLab