Questions tagged [azure-blob-storage]

Azure Blob Storage, part of the Microsoft Azure suite of cloud services, is a platform designed for storing unstructured binary data in the cloud. This storage service allows for files of any type to be securely stored as either Block or Page blobs. Block blobs are ideal for sequential reading operations, while Page blobs are better suited for random reading tasks. With Block blobs supporting sizes of up to 200 GB and Page blobs reaching capacities of up to 2 TB, Azure Blob Storage offers flexibility and scalability for various storage needs.

Issues with downloading the word file from Azure blob storage in the Next.js application have led to corruption

I stored the word file on azure blob storage. Now, I am attempting to retrieve the word file in a next.js application. The file is successfully downloaded, however, when trying to open it in MS Word, an error message is displayed: https://i.stack.imgur.c ...

Streaming media azure does not support the use of UUID.ism

After uploading a video file with the name uuid.mp4, I encountered an issue where the trimmed uuid.ism file below was not working properly. It seems to be related to the specific naming of the UUID as when I rename it to a simpler name, the problem is reso ...

What is the mechanism by which a callback function operates in conjunction with Azure Blob's createReadStream method for streaming

I have a function that successfully retrieves a stream object containing a blob from Azure Storage: module.exports.readFileToStream = function(fileSpec, callback){ return blobService.createReadStream(fileSpec.container, fileSpec.file, function(err, res ...

The image file that was uploaded from a React Native iOS application to Azure Blob Storage appears to be corrupted or incomplete as it is not

Struggling to develop a feature in a React Native mobile app where users can upload and crop their profile picture, then store it in Azure blob storage. I encountered difficulty with implementing react-native-fs as many resources recommended it, but I kep ...

Error 403 occurs when attempting to access Azure blob storage blobs using a generated SAS token

I have been working on incorporating images from Azure blob storage into my web application for some time now. Here is the SAS token for my storage account: ?sv=2021-06-08&ss=bfqt&srt=sco&sp=rwdlacupiytfx&se=2022-12-09T08:03:09Z&st=2022 ...

The issue of broken images in the Azure Blob module for Drupal

Recently, I began constructing a Drupal website utilizing Azure. I successfully installed the Azure Blob module, and all functions worked flawlessly in my local environment, including image display and upload to storage blob. However, upon migrating the si ...

Move the assets folder in Angular to Azure Storage

Looking to streamline my Angular application by transferring all the assets to Azure Storage. Rationale: The assets folder in my repository is cluttered with large, static files that never change. Since we are hosted on Azure, the plan is to move the ass ...

The issue of content type being changed when transferring files to Azure Blob container

I've encountered a problem in my code where Azure is overriding the content type with application/octet-stream instead of the expected image/png. Even though I can see in the network tab that the content type is set correctly, when viewing the file in the ...

Access and play audio files from a blob storage using Azure Functions in a React application

I have been working on integrating an audio file from azure storage into my react app using the react-h5-audio-player library. Below is the code snippet of my azure function: import { AzureFunction, Context, HttpRequest } from "@azure/functions" ...

Using an SAS token to access Azure Blob storage in Python

UPDATE: I need to retrieve a blob from an Azure Storage Container and incorporate it into my Python script using a unique SAS Token specific to BLOB. from azure.storage.blob import BlobService sas_service = BlobService( account_name = "name", sas ...

Node corrupting images during upload

I've been facing an issue with corrupted images when uploading them via Next.js API routes using Formidable. When submitting a form from my React component, I'm utilizing the following functions: const fileUpload = async (file: File) => { ...

What is the process for uploading an image to Azure Blob Storage using the NextJS API?

I have a React component that is responsible for sending the user's profile image to a proxy Next.js API. The reason for using a proxy API is to prevent Azure secrets from being exposed in the browser's network tab. Below is the front-end React ...

Troubleshooting UTF-16 problem with Python's Azure BlobClient

Currently, I am looking to transfer data from a streaming source into a CSV file saved in an Azure ADLS Gen2 Blob container. To ensure proper compatibility with Excel, the encoding must be UTF-16-LE. My existing code works flawlessly when using UTF8 withou ...

Ways to obtain a SHA1 hash for a blob block in Azure storage using Node.js without the need to download the file

Can someone assist me with code sample for file validation using sha-1 hash in Node.js? I am looking to obtain the sha-1 hash value without downloading the block from azure storageblob. // Example of uploading BlockBlob using @azure/storage-blob npm bloc ...

Uploading base64 images to Azure Storage using Next.js is a breeze!

After attempting various alternatives to solve this issue, I discovered that many of them are outdated. Even though the code below runs without any errors and successfully uploads the image while setting the mimetype correctly, it fails to render as an ima ...

Stop Azure function from repeating its execution recursively

A custom Azure function has been developed to respond to an EventGrid subscription event triggered by the uploading of a new blob into Blob Storage. This function is responsible for resizing the uploaded image and then re-uploading it back into the same c ...

Get the azure blob storage file in angular by downloading it

Can anyone provide guidance on how to download a wav file from Azure Blob storage using Angular for the purpose of playing it with wavesurfer.js? ...

Effectively controlling two distinct Azure resources within one domain name through domain routing

I am currently in the process of deploying a React application on Microsoft Azure that includes a basic content management feature. Essentially, when users visit the website and access static content, the app retrieves HTML code from a database and display ...

Retrieving and saving images from Azure Blob Storage

I need help with exporting matplotlib plots from Databricks to Blob Storage. Currently, I am using the following code: plt.savefig('/dbfs/my_plot.png') dbutils.fs.cp('dbfs:my_plot.jpg', blob_container) However, the issue arises when I ...