【Azure 应用服务】可以在app service里建SFTP服务吗?
问题描述
怎样可以在App Service里建SFTP服务? 并不是说通过FTP的方式进行App Service的文件部署。
问题回答
不能通过 App Service 来搭建总计的SFTP服务,因为App Service是为Web应用而设计的,对外只有80,443端口开放,对应HTTP, HTTPS协议的请求。不支持FTP。
但是App Service本身站点因为支持FTP/SFTP发布应用文件,所以它的文件系统映射到App Service所在的STAMP(Scale Unit)所配置的FTP服务。可以通过 App Service 的 Deployment Center 页面找到 FTPS Credentials信息。
参考资料
Can we set up a FTP Site using Azure Web App? : https://stackoverflow.com/questions/46579355/can-we-set-up-a-ftp-site-using-azure-web-app
Can we set up a FTP Site using Azure Web App?
Question:
Totally new to FTP and Azure. So please excuse if the question sounds stupid.
Is there a way to set up FTP using Azure Web App service? Is it even possible? I am trying to avoid using a dedicated VM with IIS for setting up FTP.
All my search results in deployment of a web app using FTP, but that is not what I am looking for.
Answer:
As I known, it's not possible to set up FTP service via Azure Web App Service to reach your request. You can use Deployment Credentials to deploy your web App via FTP, but cannot use Web App to deploy FTP service.
当在复杂的环境中面临问题,格物之道需:浊而静之徐清,安以动之徐生。 云中,恰是如此!