1

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.

TSL
  • 916
  • 6
  • 18
  • I wonder how can you accept an answer which is not real answer. The question is exactly `via Management API`. And as it was back in December, it is also today - you cannot do it `via Management API`. How can you accept an answer which points you to use the browser? – astaykov Mar 18 '13 at 23:33
  • @astaykov: Using his information I was able to use the REST call that returned the FTP address. While it's hardly elegant, it works. If you prefer, I can generalize the question, which is "how can I programatically find the FTP address for a given site?" – TSL Mar 27 '13 at 11:12
  • Could you share the REST call you are making to get out the FTP Address, because it is still unclear? – astaykov Mar 27 '13 at 13:19

3 Answers3

1

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.

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.

Michael Baranov
  • 789
  • 1
  • 7
  • 17
0

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.

astaykov
  • 30,768
  • 3
  • 70
  • 86