如何获取wwwroot中的Azure App服务文件夹
在特定版本数量之后,我有一个查询可以从Azure应用服务中删除文件夹。 我使用SFTP连接部署,还有一个其他选项可以在目标上删除其他文件,但这对我没有帮助。由于我想在部署后删除特定文件。它删除了所有文件。
我尝试过 azure rest api 这也没有帮助我。
需要更好的解决方案。
I have a Query to remove folders from Azure App service after specific number of Releases.
I deploy using SFTP connection and there is an additional option to Remove Additional Files at Destination but this does not helps me. Since I want to remove specific files after deployments. It remove all the files.
I have tried Azure Rest api this too didn't help me out.
Need a better solution.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
kudu
kudu服务的root URL 是 https://mysite.scm.azurewebsites.net/Azure Portal =>您的Web App =>选择
高级工具
=>GO
=>调试控制台
- >cmd
:site
folder =>wwwroot
文件夹 删除文件/文件夹单击减去
图标Kudu
Azure Portal => your Web App => Select
Advanced Tools
=>Go
=>Debug Console
->CMD
:site
folder =>wwwroot
folderminus
icon