重命名后无法访问Excel文件
我在我的网络服务器上重命名了一些 Excel 文件,重命名后用户无法下载这些文件。 可能是什么问题呢。 它们都是excel文件。
I have renamed some excel files on my web server and after renaming the users cannot download those files. What could be the problem. They are all excel files.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我试图寻找一些解决方案,直到我自己找到了它。 这可能会有所帮助。 我遇到的问题是重命名文件太长。 因此,请使文件名简短。
I was trying to search some solution until I found it on my own. This may help. Renaming the file too long was the issue I encountered. Hence, make the file name short.
另一个可能的问题是,您的网络服务器在文件名方面区分大小写,并且当您重命名文件时,该名称的大小写可能与之前的大小写不同(例如 .XLS 到 .xls)
Another possible problem is that your webserver is case-sensitive when it comes to file names, and when you renamed the files, the name might have different capitalisation to what it did before (think .XLS to .xls)
我能想到的一些可能性:
可能是其中之一...
Some possibilities I can think of:
Might be one of those ...
原因之一是在网络服务器中重命名文件将需要 refrseh 或重新加载页面。您尝试过吗
One reason is renaming file in webserver will requires refrseh or reloading the page.Did u try that
我通过右键单击文件夹中的文件名并滚动到“重命名”并键入我想要的内容,将 Excel 文件从 Columbus 重命名为 Columbus PPWK。 我已经对其他文件执行了万亿次这样的操作,没有出现任何问题。 当我尝试打开这个时,它会询问我如何使用一堆选项打开它,但没有任何效果。 此外,新重命名的文件旁边的小图片只是一个空白的白色矩形,而不是带有绿色 X 的正常白色矩形。 我通过简单地将其重命名为 Columbus PPWK.xls 来修复它。添加 .xls 后,它允许我再次打开它,并重新保存它以确保它出现并正常运行,确实如此。
I renamed an excel file from Columbus to Columbus PPWK by right clicking on the file name in the folder and scrolling to 'rename' and typing what I wanted. I have done this a trillion times with other files and no issues. When I tried to open this one, it would ask how do I want to open it with a bunch of options but nothing worked. In addition the little picture next to the newly renamed file was just a blank white rectangle and not the normal white rectangle with the green X on it. I fixed it by simply renaming it to Columbus PPWK.xls Once I added the .xls, it allowed me to open it again and I re-saved it to make sure it appeared and functioned normal, which it did.