Forum Discussion
mail8mz
Oct 13, 2021Copper Contributor
Exchange files between azure and local machine
Hello, I am new to azure. Would someone let me know what is the best way to exchange files between my desktop and azure? Thanks in advance!
Chandrasekhar_Arya
Oct 18, 2021Iron Contributor
The best way would be to create a file share between two machines.
First, you need to Allow Inbound connection to your Azure VM from on-premises. Perhaps this is could be the case in your way, please go through this article https://docs.microsoft.com/en-US/troubleshoot/windows-client/networking/internet-firewalls-prevent-browsing-file-sharing , for enabling correct port if you don't want to expose everything.
Second, you should create a network drive.
Last, create a scheduler task with XCopy or PowerShell.
You can even create a Hybrid Worker in Automation Account for running your job from the Cloud to on-premises
Another better option is to use Azure file sync . The below he following documentation gives a good overview on how to set it up and its capabilities.https://docs.microsoft.com/en-us/azure/storage/file-sync/file-sync-deployment-guide?tabs=azure-portal%2Cproactive-portal
In my case I have to transfer one time some files hence I used SaaS service like BOX and uploaded the files and downloaded to VM
First, you need to Allow Inbound connection to your Azure VM from on-premises. Perhaps this is could be the case in your way, please go through this article https://docs.microsoft.com/en-US/troubleshoot/windows-client/networking/internet-firewalls-prevent-browsing-file-sharing , for enabling correct port if you don't want to expose everything.
Second, you should create a network drive.
Last, create a scheduler task with XCopy or PowerShell.
You can even create a Hybrid Worker in Automation Account for running your job from the Cloud to on-premises
Another better option is to use Azure file sync . The below he following documentation gives a good overview on how to set it up and its capabilities.https://docs.microsoft.com/en-us/azure/storage/file-sync/file-sync-deployment-guide?tabs=azure-portal%2Cproactive-portal
In my case I have to transfer one time some files hence I used SaaS service like BOX and uploaded the files and downloaded to VM