Open drd2021 opened 2 years ago
I tried with 7.4.0 release (100c4d87ac6a6530caec22999a82ba99fbdf10bd). It works for me
Container name? testcontainer
Container successfully created? 0
Blob: https://ACCOUNT.blob.core.windows.net/testcontainer/0b8ba7c0ef5e37733617c1a95b866aa378b102fdc34e23cc523ca8a5d3acf7f4
Blob name: 0b8ba7c0ef5e37733617c1a95b866aa378b102fdc34e23cc523ca8a5d3acf7f4
Blob uri path: /testcontainer/0b8ba7c0ef5e37733617c1a95b866aa378b102fdc34e23cc523ca8a5d3acf7f4
Blob content type: application/octet-stream
Stream: Hello Azure!
Can you go to Azure Portal and check if the blob actually exists and is not deleted?
Using azure-storage-cpp (probably v7.4) on Linux, I am trying to download a binary file into a std::vector. The file exists under the container "testcontainer". Why does the function download_to_stream() fails with error code "NotFoundError"?
Here's my code and the output below:
Code:
Output: