Search code examples
azureazure-storage

How to upload a file to a directory in Azure File Share


Using Azure Portal, I'm trying to upload a file named doc.txt in a directory named TestDir in an Azure File Share that I created. But the file always gets uploaded to the root directory as shown in the following steps:

enter image description here

Click on the above directory shows me the following:

enter image description here

Then I click on Upload button on the top bar to get the following:

enter image description here

Then I upload doc.txt file using the dialog shown on the left of the image below. But as you can see in the left pane below the doc.txt is uploaded outside the TestDir:

enter image description here


Solution

  • As tou see in the last image, the image is uploaded inside the TestDir folder,

    you could see the parent directory showing at the top as TestDir

    enter image description here