当前位置: 代码迷 >> SharePoint >> 上传文件时,文件名中含有#传不上去
  详细解决方案

上传文件时,文件名中含有#传不上去

热度:121   发布时间:2016-05-02 07:10:50.0
上传文件时,文件名中带有#,传不上去
上传文件时,文件名中带有#,上传后弹框显示url不存在,这个怎么解决?谢谢!
------解决方案--------------------
这是SharePoint 中文件名的限制,除自己改文件名去适应它的规则外没有别的方案:
File and folder name restrictions: 
?Can’t be longer than 128 characters 
?Can’t use: ~ # % & * { } \ : < > ? / + 
------解决方案--------------------
 ” 
?Can’t use the period character consecutively in the middle of a file name (blah…blah.docx)
 ?Can’t use the period character at the end of a file name 
?Can’t use the period character at the start of a file name 
?
Can’t end with: 
?.files 
?_files 
?-Dateien 
?_fichiers 
?_bestanden 
?_file 
?_archivos 
?-filer 
?_tiedostot 
?_pliki 
?_soubory 
?_elemei 
?_ficheiros 
?_arquivos 
?_dosyalar 
?_datoteke 
?_fitxers 
?_failid 
?_fails 
?_bylos 
?_fajlovi 
?_fitxategiak 


------解决方案--------------------
sharepoint 很强 但讨厌的地方很多。
以他做开发几年了,发现他对格式的要求 很严。

------解决方案--------------------
SharePoint对文件名的命名有限制,修改文件名吧。
------解决方案--------------------
被block了
------解决方案--------------------
有这些字符限制很正常啊,改名称吧。
------解决方案--------------------
最后一招,加密后  再解密
------解决方案--------------------
最好就是修改文件名
------解决方案--------------------
在管理中心的web应用程序里面 有一个常规设置 里面有一个设置,你看看更改下那个有没有效 


那个设置叫 浏览器文件处理程序  默认是严格 还有一个许可选项
------解决方案--------------------
这个没有办法,只能改文件名。
  相关解决方案