Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can you upload files to an Azure Web Apps virtual directory?

how can you upload files to an Azure Web Apps virtual directory ?

I created a virtual directory for example called \UAT but when i log on via ftp its not visible ?

enter image description here

like image 525
itye1970 Avatar asked Aug 01 '18 08:08

itye1970


People also ask

How do I upload codes to Azure app?

Deploy by using Visual Studio. If you have the Visual Studio solution, right-click the web application project, and then select Publish. Deploy by using an FTP client. In the Azure portal, download the publish profile for the web app that you want to deploy your code to.


2 Answers

From the Kudu powershell console, if you open a folder in the file browser, you can drag and drop a zip file into it. It's not obvious until you drag the file over top of the file explorer at which time a box opens up over the size column that says "Drag here to upload and unzip".

like image 61
tjanuario Avatar answered Sep 21 '22 20:09

tjanuario


You can set the FTP credentials on the Deployment credentials blade within your App Service:

enter image description here


However, the easiest way is to upload your files using the KUDU console. To access the console navigate to https://<yoursite>.scm.azurewebsites.net where <yoursite> is the name of your App

In the Kudu console, click on the Debug Console tab, then on PowerShell. That will open a file browser where you can navigate to your directory and upload the files by dragging and dropping the files into the browser window:

enter image description here

like image 44
Martin Brandl Avatar answered Sep 17 '22 20:09

Martin Brandl