Azure相同的FTP URL,用于共享相同appservice计划的所有azure网站 [英] Azure same FTP url for all azure websites sharing same appservice plan

查看:72
本文介绍了Azure相同的FTP URL,用于共享相同appservice计划的所有azure网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为一个应用程序服务计划创建了几个Web应用程序.对于所有这些应用程序,我看到一个FTP网址.问题是,当我转到URL时,可以看到一个"Site/wwwroot"文件夹,其中仅显示一个应用程序.

I created few web applications for the one app service plan. For all these apps I am seeing one FTP url. Issue is that when I go to the URL, I can see one "Site/wwwroot" folder which only shows one application.

无法访问其他Web应用程序的FTP吗?

Isn't is possible to access FTP of other web applications?

所有应用程序都可以正常运行.我不明白该FTP是如何创建的.如果仅在FTP中显示一个应用程序,那么基于什么标准?我看到了第一个基于字母顺序的应用程序.

All applications works fine. I don't understand how this FTP is being created. If it's showing just one application in FTP, what criteria is based on that? I am seeing the 1st application based on the alphabetical order.

推荐答案

图章中所有站点的FTP网址都是相同的,即使您创建了多个应用托管计划,只要该托管计划位于相同的邮票.标记是特定数据中心中服务器和角色的集合.

The FTP Url is same for all the sites in a stamp and will be same even if you create multiple app hosting plans as long as the hosting plans are in the same stamp. A stamp is a collection of servers and roles in a particular datacenter.

那么azure如何连接到正确的站点-当您提供要连接的站点的用户名时,就会出现此处的区别.使用发布凭据时,用户名的格式为sitename \ $ sitename,使用部署凭据时的用户名的格式为sitename \ username,应用程序服务使用此名称来标识您要连接的站点.

So how azure connects to the right site - the distinction here happens when you provide the user name for the site that you are trying to connect. The user name has the form sitename\$sitename when using publish credentials and has the form sitename\username when using deployment credentials and this name is used by app service to identify which site you are connecting to.

http://weblogs.asp.net/bleroy/azure- web-sites-ftp-credentials 具有更多详细信息.

也请阅读 https://github.com/projectkudu/kudu/wiki/Deployment-凭据以了解两种凭据之间的区别.

Also read https://github.com/projectkudu/kudu/wiki/Deployment-credentials to understand difference between the two kind of credentials.

因此只需以这种方式指定凭据,即可使用ftp连接到站点.

So just specify credentials in this way and you can connect to your sites using ftp.

希望这会有所帮助

这篇关于Azure相同的FTP URL,用于共享相同appservice计划的所有azure网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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