I'm using PHP Tools for Visual Studio 2019, version 1.55.13858.2019.
Whenever I publish my project to Azure over FTPS using PHP Tools' Publish wizard it starts the publish process but after about a minute or so the publish fails with this error:
Publishing folder themes/backend/assets/admin/layout4/img...
Publishing folder themes/backend/assets/admin/layout4/scripts...
Publishing folder themes/backend/assets/admin/layout4/themes...
Publishing folder themes/backend/assets/admin/pages...
The server has closed the connection.
Publish failed: Publishing failed because the connection was closed unexpectedly.
If I keep on re-publishing then it will get further and further and eventually publish the whole site but this can require dozens of attempts.
The publish profile parameters are:
- Server:
waws-prod-bay-005.ftp.azurewebsites.windows.net
- Site path:
site/wwwroot
- Security:
Explicit TLS or SSL
- Use Passive Mode: true