Azure Web App: Connect to your site via FTP and upload/download files

In this post I will describe on how to connect to an Azure Web App via FTP using FileZilla as a FTP client. The readers are free to choose their FTP client

 Download publishsettings file from Azure Portal:
  • Login to Azure portal:
  • Click on App Services.
  • Select the Site and then click on Get publish profile.


  • Save the file and open it in notepad.exe.
  • The file contains 2 <publishProfile> sections. One is for Web Deploy and another for FTP
  • Under the <publishProfile> section for FTP make a note of the following values: 
    • publishUrl (hostname only)
    • userName --------------------------> This is the information you are looking for 
    • userPWD

Below is a publishsettings file from one of my test sites.
Every file has unique username and password.
The user could also reset the password, however that is beyond the scope of this post. I will discuss in another post altogether.

              profileName="kaushals - Web Deploy"
              profileName="kaushals - FTP"

 NOTE: We need only the hostname ( from the FTP's publishURL section and not the complete path.

Connect using FileZilla:
  • Download and install FileZilla, Click here to download FileZilla.
  • Launch FileZilla.
  • Go to File Menu —>Site Manager.
  • Under Site Manager click on New Site button and give it a descriptive name.
  • Under the General tab set the values  for the following accordingly
    • Host: Paste the hostname from publishUrl obtained from the publishsettings file above.

    • Logon Type: set this to Normal.
    • User: Paste the userName obtained from the publishsettings file above.
    • Password: Paste the userPWD obtained from the publishsettings file above.
  • Click on Connect to connect to the site over FTP.
  • You would see two folder under the root: Logfiles and Site.

  • Logfiles folder as the name indicates provides storage for various logging options you see under the CONFIGURE management page on the Azure Portal.
  • Site folder is where the application resides. To be more specific the code resides here: /site/wwwroot

Thus, Azure Web Sites gives the user the flexibility to create/upload/download files/folder(s) to their corresponding site via FTP. HTH!

Comments (11)

  1. kd90000 says:


    I had posted a question on Azure Forum but it seems your post answered part of my question.…/how-to-upload-videos-bigger-than-200mb-from-local-into-media-services-upload-tool

    Now that I was able to connect to my Azure configured site (a Joomla site) following your great helpful info. I recognize all the folders under "sites" folder. It's everything in my Joomla. But what are, where are the log files? Are those inside Azure server? because my goal is to upload videos files 200mb+ directly to my Azure Storage/container or Media Services acct. via FTP.

  2. @kd90000 This post is specific to Azure Websites. the Logfiles folder are a collection of the logs (IIS logs, deployment logs, event logs, FREB etc) for your site.

  3. Fathima says:

    Hi Kausal. Will I be able to move my WCF which uses the framework 3.0 using Filezilla? If not, what is the option for moving a Framework 3.0 WCF to Azure?

  4. @fathima I would recommend you to use Visual Studio for such deployments. You could use FTP clients as well, but VS would be more suitable.

  5. Ashna says:

    Hello Kaushal,

    I created successfully a WebApp on Microsoft Azure and then followed the above steps as you mentioned to use FTP. However the files Log files and sites does not appear.  

    On the left hand corner i got these info:

    Response: 530 User cannot log in.

    Error: Critical error: Could not connect to server

    Can you please guide me on this.

  6. says:

    I want to know that can I move my WCF which uses the framework 3.0 using Filezilla?

  7. Naunihal says:

    I am getting Error at directory listing, what would be wrong?

    Retrieving directory listing…
    Command: PWD
    Response: 257 “/” is current directory.
    Command: TYPE I
    Response: 200 Type set to I.
    Command: PASV
    Response: 227 Entering Passive Mode (13,84,39,73,39,246).
    Command: LIST
    Response: 150 Opening BINARY mode data connection.
    Error: Connection timed out after 20 seconds of inactivity
    Error: Failed to retrieve directory listing

    1. Naunihal says:

      using Encryption “Only use plain FTP(insecure) solved the problem

  8. Scott says:

    All works now.

    Thanks for sharing!

  9. Joy Chatterjee says:

    I have a problem that I followed every step and after connection established Connection established, waiting for welcome message…
    Error: Connection timed out after 20 seconds of inactivity
    Error: Could not connect to server
    this msg is showing
    please help

  10. Daniel says:

    All working fine, great article ! Thanks !

Skip to main content