Azure FTP可以正常工作,只需一个文件 [英] Azure FTP works properly EXCEPT for a single file

查看:88
本文介绍了Azure FTP可以正常工作,只需一个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个html / js应用程序,其中包含大约100个js文件。每个文件上传除1以外。无论我使用什么FTP客户端,这个单个文件每次都会失败。它失败并显示以下消息。

I have an html/js app which includes about 100 js files. Every single file uploads except 1. This single file fails every time regardless of what FTP client I use. It fails with messages per below.

该文件未被使用。即使我删除文件并重新创建它(webpack生成),它也不会上传。它只是一个文件。

The file is NOT in use. Even if I delete the file and recreate it (webpack generated), it will not upload. It is just one file.

如果我重命名它,它仍然无法正常工作。如果我拉链,我可以上传。

If I rename it, it still wont work. If I zip it, I can upload it.

如果你想联系我,很高兴发送文件。

Happy to send the file if you want to contact me.

xxx?

命令:
TYPE I

Command: TYPE I

推荐答案

您使用的应用服务计划是什么?请检查并告知我们有问题的文件的大小?

检查文件夹/文件是否具有只读访问权限。来自
Kudu控制台 {yoursite } .scm.azurewebsites.net)
只需在右侧文件夹中运行'attrib yourfilename'并检查'R'。如果有,请运行'attrib -R yourfilename'。

您可以将应用服务计划扩展到更高的计划,如本文档中所述
向上扩展Azure中的应用 并检查
是否有帮助。

You may Scale Up the App Service Plan to an higher plan as mentioned in this documentation Scale up an app in Azure and check to see if that helps.

另外,你可以通过
上传文件
Kudu控制台
工具为您提供命令行和文件浏览器访问您的网站。


这篇关于Azure FTP可以正常工作,只需一个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆