Can we set up a FTP Site using Azure Web App?

拜拜、爱过 提交于 2020-01-14 13:35:32

问题


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.


回答1:


Since the out-of-the-box FTP for deployments is out of the question, then the answer is no.

App Service is quite strict in what ports you can listen to, and FTP(S) is not one of them.

What you could do is create a storage account where the customer can put their files, and then use scripts to copy the files from there. The customer could use File Storage or Blob Storage. File can be easier for end-users, since it is just a network drive.




回答2:


Is there a way to set up FTP using Azure Web App service? Is it even possible?

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.

According to your request, I suggest you can let your customers use Azure Storage Explorer .

For more convenient to your customers, using scripts to using Azure Blob to upload/download file is not recommended. Azure Storage Explorer can let you access Azure Blob like FTP. You can create different Access keys for customers and they can use their own keys to access the Blob.

If you don't want take this solution, I think that it's necessary to set up a FTP server via Azure VM.



来源:https://stackoverflow.com/questions/46579355/can-we-set-up-a-ftp-site-using-azure-web-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!