[英]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.