@Tanishka Arora Welcome to Microsoft Q&A Forum, Thank you for posting your query here1
This article gives samples and description on uploading files to azure using REST API: https://learn.microsoft.com/en-us/rest/api/storageservices/put-blob
Uploading Large Files in Windows Azure Blob Storage Using Shared Access Signature, HTML, and JavaScript
Note: We also recommended to use Azcopy tool to upload files from on-premises or cloud (Use this command-line tool to easily copy data to and blobs from Azure Blobs, Blob Files, and Table storage Storage with optimal performance. ) AzCopy supports concurrency and parallelism, and the ability to resume copy operations when interrupted. It provides high-performance for uploading, downloading larger files. Please consider using this library for larger files.
Storage limits: https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/azure-subscription-service-limits#storage-limits
- If you want to upload larger files to file share or blob storage, there is an Azure Storage Data Movement Library
There are few similar SO threads discussion here https://stackoverflow.com/questions/41829911/azure-rest-api-put-blob https://stackoverflow.com/questions/61481720/upload-video-in-chunks-azure-blob-storage which provide some idea on your scenario.
https://stackoverflow.com/questions/61857337/how-to-upload-a-large-file-in-chunks-with-parallelism-in-azure-sdk-v12
Additional information: How to upload and download blobs from Azure Blob Storage with JavaScript: https://learn.microsoft.com/en-gb/samples/azure-samples/azure-sdk-for-js-storage-blob-upload-download/upload-download-blobs-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.