You can utilize the Azure Blob Storage REST API's "Put Block" and "Put Block List" operations to upload large files in chunks. Here are the high-level steps you can follow:
- Divide the large file into smaller chunks.
- Create a new blob in the Azure Blob Storage account using the "Put Blob" operation. This operation creates a new blob or updates an existing blob with the specified content.
- Upload each chunk of the file using the "Put Block" operation. This operation uploads a block of data to the specified block blob.
- Commit the blocks to the blob using the "Put Block List" operation. This operation commits the list of blocks that have been uploaded to the specified block blob.
These articles can provide guidance for implementing this solution along with sample Java code:
Put Block (REST API) - Azure Storage | Microsoft Learn
Upload a blob with Java - Azure Storage | Microsoft Learn
There are few similar SO threads discussion here: https://stackoverflow.com/questions/61481720/upload-video-in-chunks-azure-blob-storage
Additional information: How to upload and download blobs from Azure Blob Storage with JavaScript:
Please let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.