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

2019-08-10 08:13发布

问题:

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.