Copy Files to Azure Storage Container
Feb 2, 2024
This story will help you to understand how to copy large files to azure storage containers using azcopy command.
Create Azure Storage Container
- Open Azure Portal: https://ms.portal.azure.com/
- Select Storage Accounts:
3. Create Storage Account
Download azcopy command utility in your local
PS> Invoke-WebRequest -Uri 'https://azcopyvnext.azureedge.net/release20220315/azcopy_windows_amd64_10.14.1.zip' -OutFile 'azcopyv10.zip'
PS> Expand-archive -Path '.\azcopyv10.zip' -Destinationpath '.\'
PS> cd .\azcopy_windows_amd64_10.14.1\
Use the azcopy and SAS URL copied to upload the file
PS> azcopy copy "<Path of File or Folder to Copy>" "<Copied SAS URL>" --recursive=true