Zeus FTP Connection to Azure

Find Tips and tricks on how to better use the Zeus IDE. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Zeus FTP Connection to Azure

Post by jussij »

In side the PowerShell console of the Azure account run this command:

Code: Select all

az webapp deployment list-publishing-profiles --resource-group <group> --name <name>
This command should result in output similar to this:

Code: Select all

.....
{
  "SQLServerDBConnectionString": "",
  "controlPanelLink": "http://windows.azure.com",
  "databases": null,
  "destinationAppUrl": "http://your_web_site.azurewebsites.net",
  "ftpPassiveMode": "True",
  "hostingProviderForumLink": "",
  "mySQLDBConnectionString": "",
  "profileName": "your_web_site - FTP",
  "publishMethod": "FTP",
  "publishUrl": "ftp://waws-prod-dm1-239.ftp.azurewebsites.windows.net/site/wwwroot",
  "userName": "your_web_site\\$your_web_site",
  "userPWD": "2s5s67di5x6PX1E0cYJkEvtr9PZqf8XthRqHmHw7ekWz0dP9LLpz7XtRRcwMe",
  "webSystem": "WebSites"
},
.....
From that output use the publishUrl, userName and userPWD to define these Zeus FTP connection details:

Code: Select all

      Server: ftp://waws-prod-dm1-239.ftp.azurewebsites.windows.net
      UserId: your_web_site\$your_web_site,
    Password: 2s5s67di5x6PX1E0cYJkEvtr9PZqf8XthRqHmHw7ekWz0dP9LLpz7XtRRcwMe
IMPORTANT: Make sure the delimiting of the '\' JSON character is done.
azure-ftp1.png
azure-ftp1.png (30.65 KiB) Viewed 27029 times
Use the File, FTP, FTP Configuration menu to define a Zeus server connection for that srever.

With that configuration in place use the File, FTP, Open from FTP menu and in the resulting dialog enter in this url:

Code: Select all

ftp://waws-prod-dm1-239.ftp.azurewebsites.windows.net/site/wwwroot
Zeus will now connect to that server using those user and password details.

EXTRA DEBUGGING: To debug the FTP handshaking use the Options, Editor Options menu and in the General section turn on the Debug tools, macros and executables options.

Next use the Macros, Macro/Debug Output menu to open the debug output window.

Finally reconnect to the FTP site and the handshaking will be displayed in the debug output window.

More details can be found here: https://docs.microsoft.com/en-us/azure/ ... s?tabs=cli

Cheers Jussi
Post Reply