azure-storage-blobs

Azure Function - Pandas dataframe to Excel, write to outputBlob stream

送分小仙女□ 提交于 2021-02-11 12:32:35
问题 Am trying to write a DataFrame to an outputBlob from an Azure Function. I'm having trouble figuring out which io stream to use. My function looks like this: import io import xlrd import pandas as pd def main(myblob: func.InputStream, outputBlob: func.Out[func.InputStream]): logging.info(f"Python blob trigger function processed blob \n" f"Name: {myblob.name}\n" f"Blob Size: {myblob.length} bytes") input_file = xlrd.open_workbook(file_contents = myblob.read()) df = pd.read_excel(input_file) if

Windows Azure Website and static html in Blob storage

生来就可爱ヽ(ⅴ<●) 提交于 2021-02-11 04:41:55
问题 So I have a .NET MVC app published in an Azure Website which should serve static html pages stored in a blob container when clicking on a corresponding hyperlink. My questions are: The way to access a blob in Azure is https://blobtest.blob.core.windows.net/container/htmlpage1.html, however the peculiar part is when I login into my Azure Site and the url is something like: http://azuretestwebapp.azurewebsites.net/user123 and if I click on a hyperlink to my html blob it can't help but normally

Windows Azure Website and static html in Blob storage

只谈情不闲聊 提交于 2021-02-11 04:40:10
问题 So I have a .NET MVC app published in an Azure Website which should serve static html pages stored in a blob container when clicking on a corresponding hyperlink. My questions are: The way to access a blob in Azure is https://blobtest.blob.core.windows.net/container/htmlpage1.html, however the peculiar part is when I login into my Azure Site and the url is something like: http://azuretestwebapp.azurewebsites.net/user123 and if I click on a hyperlink to my html blob it can't help but normally

Authentication Failure when Accessing Azure Blob Storage through Connection String

微笑、不失礼 提交于 2021-02-10 20:21:07
问题 We got error of Authentication fail, when we try to create an azure blob client from connection string, using python v12 sdk with Azure Blob Storage v12.5.0, and Azure core 1.8.2. I used azure-storate-blob == 12.5.0 azure-core == 1.8.2 I tried to access my blob storage account using connection string with Python v12 SDK and received the error above. The environment I'm running in is python venv in NixShell. The code for calling the blob_upload is as following: blob_service_client =

Authentication Failure when Accessing Azure Blob Storage through Connection String

别说谁变了你拦得住时间么 提交于 2021-02-10 20:19:29
问题 We got error of Authentication fail, when we try to create an azure blob client from connection string, using python v12 sdk with Azure Blob Storage v12.5.0, and Azure core 1.8.2. I used azure-storate-blob == 12.5.0 azure-core == 1.8.2 I tried to access my blob storage account using connection string with Python v12 SDK and received the error above. The environment I'm running in is python venv in NixShell. The code for calling the blob_upload is as following: blob_service_client =

C# Azure Blob Storage upload on slow internet connection fail

丶灬走出姿态 提交于 2021-02-10 12:51:16
问题 I am using the Azure Blob storage client library v12 for .NET i used this guide to setup https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-dotnet It is all working fine on internet connections with fast upload speeds but once I try run this program on a site with upload speed on 1Mbps it doesnt work i have now been able to replicate this issue but using software on my computer to restrict the upload speed in my dev environment when i set the upload speed to 1Mbps

C# Azure Blob Storage upload on slow internet connection fail

杀马特。学长 韩版系。学妹 提交于 2021-02-10 12:50:52
问题 I am using the Azure Blob storage client library v12 for .NET i used this guide to setup https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-dotnet It is all working fine on internet connections with fast upload speeds but once I try run this program on a site with upload speed on 1Mbps it doesnt work i have now been able to replicate this issue but using software on my computer to restrict the upload speed in my dev environment when i set the upload speed to 1Mbps

Azure storage for files in specific folder structure

情到浓时终转凉″ 提交于 2021-02-10 12:38:13
问题 Currently i have some ftp where on it i have some deep structure of folders and files within it. It could be even 10 levels down from root folder. As i migrated already with success my local database to azure database, i wonder also whether is there any azure ftp i could use to migrate this as well. I know we have something like Azure storage and i could create Container for it of type File or Blobs - are one of those could be used like particural ftp - could i create folder structure there

Azure storage for files in specific folder structure

[亡魂溺海] 提交于 2021-02-10 12:35:25
问题 Currently i have some ftp where on it i have some deep structure of folders and files within it. It could be even 10 levels down from root folder. As i migrated already with success my local database to azure database, i wonder also whether is there any azure ftp i could use to migrate this as well. I know we have something like Azure storage and i could create Container for it of type File or Blobs - are one of those could be used like particural ftp - could i create folder structure there

REST Api to Azure blob storage using Access key

与世无争的帅哥 提交于 2021-02-10 05:56:07
问题 We are trying to access the blobs from azure blob storage without using the Azure SDK, we are trying to access through the shared key by Azure REST API, for that we need to generate the Authorization header, but when I try to create a signature from the Access key I am getting the following error "Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature." "The MAC signature found in the HTTP request 'key hash' is not