简体   繁体   English

我们可以使用 Azure Web App 设置 FTP 站点吗?

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

Totally new to FTP and Azure.对 FTP 和 Azure 来说是全新的。 So please excuse if the question sounds stupid.所以如果这个问题听起来很愚蠢,请原谅。

Is there a way to set up FTP using Azure Web App service?有没有办法使用 Azure Web App 服务设置 FTP? Is it even possible?甚至有可能吗? I am trying to avoid using a dedicated VM with IIS for setting up FTP.我试图避免使用带有 IIS 的专用 VM 来设置 FTP。

All my search results in deployment of a web app using FTP, but that is not what I am looking for.我所有的搜索结果都是使用 FTP 部署 Web 应用程序,但这不是我想要的。

Since the out-of-the-box FTP for deployments is out of the question, then the answer is no.由于用于部署的开箱即用 FTP 是不可能的,因此答案是否定的。

App Service is quite strict in what ports you can listen to, and FTP(S) is not one of them. App Service 对可以侦听的端口非常严格,FTP(S) 不是其中之一。

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.客户可以使用文件存储或 Blob 存储。 File can be easier for end-users, since it is just a network drive.文件对最终用户来说更容易,因为它只是一个网络驱动器。

Is there a way to set up FTP using Azure Web App service?有没有办法使用 Azure Web App 服务设置 FTP? 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.据我所知,无法通过 Azure Web 应用服务设置 FTP 服务来满足您的请求。 You can use Deployment Credentials to deploy your web App via FTP, but cannot use Web App to deploy FTP service.您可以使用 Deployment Credentials 通过 FTP 来部署您的 Web App,但不能使用 Web App 来部署 FTP 服务。

According to your request, I suggest you can let your customers use Azure Storage Explorer .根据您的要求,我建议您可以让您的客户使用Azure 存储资源管理器

For more convenient to your customers, using scripts to using Azure Blob to upload/download file is not recommended.为了方便您的客户,不建议使用脚本来使用 Azure Blob 上传/下载文件。 Azure Storage Explorer can let you access Azure Blob like FTP. Azure 存储资源管理器可以让你像 FTP 一样访问 Azure Blob。 You can create different Access keys for customers and they can use their own keys to access the Blob.您可以为客户创建不同的访问密钥,他们可以使用自己的密钥访问 Blob。

If you don't want take this solution, I think that it's necessary to set up a FTP server via Azure VM.如果你不想采取这个解决方案,我认为有必要通过 Azure VM 设置一个 FTP 服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM