文件名长度问题 [英] Problem with file name length

查看:189
本文介绍了文件名长度问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我遇到的问题似乎是文件名长度。我不确定我使用的是什么版本的sharepoint。如果有人可以告诉我如何检查sharepoint版本是什么,我会检查。我创建了一个工作区并将文件上传到其中。大多数
的文件是照片和PDF。我在运行Windows 10的笔记本电脑上同步工作区。几乎所有文件都正确同步,并带有绿色复选标记。其中一些没有正确同步。对于这些文件,如果我尝试打开
它们,例如,使用Adobe Reader,则会打开一个对话框,说"打开此文档时出错"。访问被拒绝。"我可以右键单击该文档并将其复制到桌面,然后正确打开。我尝试重新上传这些文件,它使
没有区别。我也尝试重新同步整个文件夹,这也没有区别。我尝试将文件从我的桌面复制到文件资源管理器窗口,在那里我发现了什么似乎是原因。打开一个对话框,说"文件名
对于目标文件夹来说太长了"。您可以缩短文件名,然后重试,或者尝试一个路径较短的位置。"

I'm having a problem that appears to be with file name length. I'm not sure what version of sharepoint I'm using. If someone can tell me how to check what the sharepoint version is, I will check. I've created a workspace and uploaded files into it. Most of the files are photos and PDF. I'm synchronizing the workspace on my laptop, which is running windows 10. Almost all of the files synch properly with a green checkmark. A few of them are not synchronizing properly. For these files, if I try to open them, e.g., with Adobe reader, a dialog box opens, saying, "There was an error opening this document. Access denied." I can right click on the document and copy it to the desktop, where it opens properly. I tried re-uploading these files and it made no difference. I also tried resynchronizing the entire folder and that also made no difference. I tried copying the file from my desktop into the File Explorer window, where I found what seems to be the cause. A dialog box opened, saying, "The file name(s) would be too long for the destination folder. You can shorten the file name and try again, or try a location that has a shorter path."

这个问题似乎是一个错误。 sharepoint上的文件名不会被破坏。我的笔记本电脑上的文件名也没有损坏,因此似乎没有任何理由说明为什么会发生此错误。截断
文件名对我来说是不切实际的。是否有解决此问题的方法?

This problem seems to be a bug. The file names on the sharepoint are not mangled. The file names in that are on my laptop are also not mangled, so there doesn't seem to be any reason why this error should be occurring. It's not practical for me to truncate the file names. Is there a fix for this problem?

推荐答案

嗨bimmerdriver。

Hi bimmerdriver.

您可以阅读
这里
知道如何确定您正在使用的SharePoint版本;或者,在服务器场的一个SharePoint服务器上打开管理SharePoint Management shell并执行以下

You can read here to know how to determine the SharePoint version you're using; alternatively, open an administrative SharePoint Management shell on one of the SharePoint servers of your farm and execute the following

(Get-SPFarm).BuildVersion



如果您使用SharePoint文档库的Open with Explorer功能上传文件,那么您正在利用Windows使用WebDAV协议创建的抽象,但是这并不总是很好;还记得在SharePoint中所有文件和文件夹的
URL路径必须不超过260个字符(对于URL中的任何单个文件或文件夹名称,不得超过128个字符)。


If you're using the Open with Explorer functionality of SharePoint document libraries to upload your files, you're leveraging an abstraction created by Windows using the WebDAV protocol, but this will not always work fine; also remember that in SharePoint The URL path for all files and folders must be 260 characters or less (and no more than 128 characters for any single file or folder name in the URL).

再见


这篇关于文件名长度问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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