13
votes

I've used Visual Studio to "publish" my website to Azure.

It seems to be working OK. Now I would like to be able to FTP files up to this App Service.

But how do I set up my FTP credentials within this App Service so I can authenticate via FTP?

I was expecting to see an option called "Deployment Credentials" under the "Deployment" area but there simply isn't an option called "Deployment Credentials".

Also, if I click the "Deployment Center" option under "Deployment" I just get a blank part of the screen on the right hand side of the screen. This suggests something should be returned but nothing is.

What am I missing? How do I set up an FTP username and password?

Clarification: I can see how to access the preconfigured ftp username/password. My question was about how to CREATE a new user/password combination.

2
Possible duplicate of How to Setup FTP on Azure VMAlfredo A.
@Alfredo Mark is asking about App Service not Virtual MachinesCSharpRocks
Other users marked your question for low quality and need for improvement. I re-worded/formatted your input to make it easier to read/understand. Please review my changes to ensure they reflect your intentions. Feel free to drop me a comment in case you have further questions or feedback for me.GhostCat
I think before marking a question down it might be a good idea to understand it.Mark Challice

2 Answers

28
votes

In the Azure Portal:

  1. click on your App Service that you'd like to access from FTP.
  2. On the Overview tab for your App Service, look at the top navigation bar and click on the "Get Publish Profile" link. This will download your publish profile.
  3. Open the downloaded publish profile (it's a text file). Your FTP credentials are there.
1
votes

I do not believe you can use multiple methods to publish to an App Service. I think it's limited to one. However, you are not locked into that one upon creation as you can change it from Deployment Center. Thus, you can't both publish your app from Visual Studio and FTP upload your app.

However, if you want to FTP for other reasons, you can piggyback on the ability to FTP for diagnostics logging. If you click, Diagnostics logs under Monitoring, you will find your FTP URL for your App Service and the user name needed for FTP. This leaves one issue as you need to setup a password for FTP. If you go to Deployment Center > Deployment Credentials > User Credentials, you should be able to update your password for the App Service FTP server. Thus, you'd be able to access your App Service from FTP.

For more information, you can check out this document from Azure.