Ever run in to problems with SharePoint and to long url or problems with uploading documents deep down the file map path?
I have and I found some pretty stange limits.
The Office programs Excel and Word have different limitations when it comes to storing documents in SharePoint.
In a SharePoint document library with a long URL path there is a difference in the length of file names that can be saved.
- Word can´t handle more than 262 characters in the URL. Incl. path and file name
- Excel can´t handle more than 218 characters in the URL. Incl. path and file name
The reason that there even can exist as long paths to an Excel sheet is that the above limit only applies when you save the document from Excel / Word and not when you upload it with the send button or using the the Explorer view.
There is even an different transfer limit on the 2 ways to transfer documents, but thats another day.
URL path for all files and folders to be less than 260 characters and must not exceed 128 characters in each file or folder name in the URL path.
But this is not when you save the document from Excel!