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

拟墨画扇 提交于 2020-11-28 02:01:44

问题


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 ?


回答1:


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


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:




回答2:


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".




回答3:


  1. Go to YOURSITE.azurewebsites.net/ZipDeployUI
  2. Drag and drop

Note: all files and folders in current wwwroot will be removed without warning




回答4:


I used Visual Studio IDE. Access the Publish interface as shown below.

  • Click Manage in Cloud Explorer it will open the specified Azure App web service. Drill down to Files>wwwroot and right click then select Upload File

Hopefully it works for your case.



来源:https://stackoverflow.com/questions/51628367/how-can-you-upload-files-to-an-azure-web-apps-virtual-directory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!