Mark Challice
Mark Challice

Reputation: 489

How do I set up FTP access to Azure App Service?

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.

Upvotes: 29

Views: 52387

Answers (2)

Rob Reagan
Rob Reagan

Reputation: 7686

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.

Edit 6-21-2022: A Better Way

To get your FTP credentials, now you can do the following:

  1. Go to your Azure Web App in the Azure Portal
  2. Click on the Deployment Center menu item under the Deployment heading in the left-hand nav.
  3. Choose the FTPS Credentials tab. Your FTP endpoint, username, and pass are available to copy.

Upvotes: 67

technogeek1995
technogeek1995

Reputation: 3444

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.

Upvotes: 2

Related Questions