I have a windows application and I want to upload a file from this windows application to azure virtual machine data disk or os disk. I need this because there is some process(run by third party add-on) which work on azure virtual machine ,that process only able to read file from local drive. But that file will be generate through my windows application.
Is there any way to achieve this.
Thanks in advance!!
There are two ways to upload a file to Azure VM:
1.Use AzCopy command-line or Azure Storage Explorer to upload the file to Azure blob (data disk).
2.Setup an RRAS (server) in Azure VM, connect Azure VM and windows via RRAS, then mount the Azure file share service to the windows and Azure VM (similar to a shared folder). The Azure file share only support SMB 3.0: