Connecting to Windows Azure Web Site via FTPS

There’s some outdated (or just wrong) information out there regarding how exactly to establish an FTP(S) connection to a Windows Azure Web Site. After some trial and error, I was able to get my connection going.
The main points are:
  • Use a decent client that supports the various FTP modes listed below – FileZilla is a good, cross-platform choice.
  • Use passive FTP mode
  • Prefer FTPS (FTP over SSL) instead of plain FTP
  • Use implicit FTPS
  • Get your username and password from your site’s publish profile. The username provided on the site’s dashboard didn’t work for me.

Publish Profile

On your site’s dashboard download the publish profile.
Azure Web Sites Dashboard
Now open the publish profile with a text editor. The publish profile is an XML file, but it won’t be formatted for human reading. Look for the publishProfile element that has the publishMethod attribute set to FTP.  You’ll find every connection parameter you need here:
FTP Publish Profile

Setting up FileZilla

Because of all of the unusual options that need to be set, you’ll need to create a connection in FileZilla’s site manager:
Filezilla
Select “Require implicit FTP over TLS” for Encryption and “Normal” for Logon Type. Copy the host (sans scheme), user and password from your publish profile:FileZilla Site Manager General Tab
On the Transfer Settings tab, select the “Passive” radio button.
FileZilla Site Manager Transfer Settings Tab

Connect!

The first time you connect you’ll get a chance to make sure that Azure’s SSL certificate is legit. FileZilla shows this window to let you painstakingly ensure that every certificate in the chain is authentic:FileZilla Unknown Certificate Window
If you feel good about Azure’s certificate, mash that OK button. Now you can browse your site’s file system. You’re site’s meat will be found in the wwwroot directory:
Remote Server File System
Share on Google Plus

About h

Please leave your valuable comments !!
    Blogger Comment
    Facebook Comment

3 comments :

  1. Cool... very nice article thanks...

    ReplyDelete
  2. exactly what i was looking for..

    ReplyDelete
  3. Wonderful post, thanks for discussing the data. It isn’t all too often that you simply read articles where the poster knows what they’re running a blog regarding. Grammar and punctuational are spot on too, only trouble We seemed to possess had been mentioning the website, seemed sluggish. Looks like additional visitors experienced exactly the same difficulty? best of the web directory

    ReplyDelete