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:
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:
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:
On the Transfer Settings tab, select the “Passive” radio button.
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:
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.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:
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: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:
On the Transfer Settings tab, select the “Passive” radio button.
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: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:
Cool... very nice article thanks...
ReplyDeleteexactly what i was looking for..
ReplyDeleteWonderful 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