如何将文件上传到 Azure Web Apps 虚拟目录? [英] how can you upload files to an Azure Web Apps virtual directory?

查看:21
本文介绍了如何将文件上传到 Azure Web Apps 虚拟目录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将文件上传到 Azure Web Apps 虚拟目录?

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

我创建了一个虚拟目录,例如名为 UAT,但是当我通过 ftp 登录时它不可见?

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

推荐答案

您可以在应用服务中的部署凭据刀片上设置 FTP 凭据:

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

不过,最简单的方法是使用 KUDU 控制台上传文件.要访问控制台,请导航到 https://<yoursite>.scm.azurewebsites.net,其中 <yoursite> 是您的应用程序的名称

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

在 Kudu 控制台中,单击 Debug Console 选项卡,然后单击 PowerShell.这将打开一个文件浏览器,您可以在其中导航到您的目录并上传文件通过将文件拖放到浏览器窗口中:

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:

这篇关于如何将文件上传到 Azure Web Apps 虚拟目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆