简体   繁体   English

如何更改 Azure Web 应用程序的权限,以便我实际上可以通过 FTP 向其上传文件?

[英]How can I change permission for an Azure Web App, so I can actually upload files via FTP to it?

How can I change permission for a Web App, so I can actually upload files via FTP to it?如何更改 Web 应用程序的权限,以便我实际上可以通过 FTP 向其上传文件?

What is it I need to change in order to have permissions to upload via FTP?我需要更改什么才能获得通过 FTP 上传的权限?

I have a running site that runs ASP.Net Core.我有一个运行 ASP.Net Core 的运行站点。 Everything works.一切正常。

For debugging purposes on a weird js issue, I need to be able to edit a few js files directly on the site via FTP.为了调试一个奇怪的 js 问题,我需要能够通过 FTP 直接在站点上编辑一些 js 文件。

When I connect via FTP (with the credentials from the "publish profile") I can connect just fine and download files - I use Filezilla.当我通过 FTP 连接时(使用“发布配置文件”中的凭据),我可以很好地连接并下载文件 - 我使用 Filezilla。

But if I try to upload anything, I get "550 Access is denied."但是如果我尝试上传任何东西,我会收到“550 访问被拒绝”。

I have full access to Azure Portal etc for the site, incl.我可以完全访问该站点的 Azure 门户等,包括。 Kudu.捻角羚。

It does not matter if you can upload files via KUDU or some other thing - I specifically need FTP.您是否可以通过 KUDU 或其他方式上传文件并不重要 - 我特别需要 FTP。

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

Thanks for asking question.感谢您提出问题。 Could you please check if your firewall is blocked outgoing FTP writes, Also.您能否检查一下您的防火墙是否阻止了传出 FTP 写入,另外。 make sure you're not trying to write to a read-only file: For this suggest using the Kudu Console (https.//[sitename].scm.azurewebsites.net/DebugConsole) to look at your files and check their permissions (eg using 'attrib' command).确保您没有尝试写入只读文件:为此建议使用 Kudu 控制台 (https.//[sitename].scm.azurewebsites.net/DebugConsole) 查看您的文件并检查它们的权限 (例如使用“attrib”命令)。

For more information about KUDU, please refer to this document关于KUDU的更多信息,请参考这篇文档

Refer to this document link might be helpful: https://learn.microsoft.com/en-us/azure/app-service/deploy-ftp#get-ftp-connection-information参考此文档链接可能会有帮助: https://learn.microsoft.com/en-us/azure/app-service/deploy-ftp#get-ftp-connection-information

Try checking the ftp link which is provided by deployment center, For this Go to your web app, click Get publish profile, choose the Publish URL under tag <publishProfile profileName="your-webapp"尝试检查部署中心提供的 ftp 链接,对于这个 Go 到您的 web 应用程序,单击获取发布配置文件,选择标签 <publishProfile profileName="your-webapp" 下的发布 URL

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

相关问题 我如何远程调试部署在 azure 应用程序服务上的 asp.net 核心 web 应用程序 - How can i remotely debug an asp.net core web app deployed on an azure app service 如何检索Azure Web App上托管的.NET Core中的AD用户名? - How can I retrieve AD Username in .NET Core hosted on Azure Web App? 我如何在Azure托管的dotnet核心Web应用程序上托管php脚本 - How can I host a php script on a dotnet core web app hosted at Azure FTP上传后更改文件权限 - Change file permission after FTP Upload Azure Web 应用部署槽,我可以将槽应用换成主生产,然后删除旧的吗? - Azure Web App deployment slots, can I swap a slot app for the main production, then delete the old one? 如何提前获取 Azure 应用服务中的配置? - How Can I Get Early Access to Configuration in Azure App Service? 我可以在Linux平台上构建.net-core应用程序,然后再部署到Azure Web应用程序吗 - Can I build my .net-core application on a linux platform, then deploy to an azure web app 我如何在 dot net Core 中安排应用程序 dll 文件 - How can i Arrange app dll files in dot net Core 如何在 Visual Studio Code 中更改控制台应用程序的图标? - How can I change the icon of a Console App in Visual Studio Code? 如何将文件上传到 Dynamics? - How can I upload a file to Dynamics?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM