How can I get the FTP URL for my Azure website via the Management API?

有些话、适合烂在心里 提交于 2019-12-11 06:25:37

问题


I'm trying to get my Azure Web Site's FTP upload address from the Management REST API. Looking at the source code for the Azure SDK Tools, I don't see anything that could help me out, save for a web site property that would be sent via the GetSite action on IWebsitesServiceManagement. Has anyone encountered this problem, and figured out how to get this going?

Edit: clarification and links.


回答1:


It's there already http://msdn.microsoft.com/en-us/library/windowsazure/dn166996.aspx. Still not available from Powershell, but at least API in place.




回答2:


Inside the portal, you cna download a publishsettings file with this info. There is also a link to the ftp address on the 'Dashboard' page for your site.




回答3:


There is no official documentation (not even "preview" documentation) on that subject. When you develop Management API tools, you should refer to the online documentation for it here. Given that this service (Web Sites) is in Preview, the API may change in any given moment, so I would not invest time in something, that is not even documented. It is waste of time.



来源:https://stackoverflow.com/questions/13821493/how-can-i-get-the-ftp-url-for-my-azure-website-via-the-management-api

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