top of page
  • Writer's picturekhal

Using AzCopy to upload large files.

AzCopy is a command line tool which can be used for uploading or downloading large files from Azure Blob storage. Download AzCopy

After installing AzCopy on Windows using the installer, open a command window and navigate to the AzCopy installation directory on your computer - where the AzCopy.exe executable is located. If desired, you can add the AzCopy installation location to your system path. By default, AzCopy is installed to %ProgramFiles(x86)%\Microsoft SDKs\Azure\AzCopy or %ProgramFiles%\Microsoft SDKs\Azure\AzCopy.


AzCopy /Source:C:\myfolder /Dest: /DestKey:key /Pattern:"abc.txt"


AzCopy /Source: /Dest:C:\myfolder /SourceKey:key /Pattern:"abc.txt"

The Storage keys can be download from the Storage container 'Access Keys' as shown below.


When uploading a VHD/VHDX file that will be attached to a VM, it must be uploaded as a ‘page blob’ otherwise it wont be able to attach to a VM. This can be done from storage explorer as below:

Or using AzCopy the following command:

AzCopy/Source:C:\Work\Apps/Dest:https://*******************/DestKey:*****************************************************************************************************== /Pattern:"visio.iso" /BlobType:"page”

88 views0 comments
bottom of page