问题
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