Why does having a long folder name prevent one drive and sharepoint to have issues with syncing

Keely Kirby 0 Reputation points
2023-01-20T20:11:55.5266667+00:00

Why does having a long folder name prevent one drive and sharepoint to have issues with syncing?

MS states it has to be less than 40 characters, which they are?

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,154 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,837 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,279 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Santhi Swaroop Naik Bukke 595 Reputation points
    2023-01-20T20:23:55.05+00:00

    There are a few reasons why having a long folder name in OneDrive or SharePoint could cause issues with syncing:

    1. File Path Length Limits: Windows has a file path length limit of 260 characters. This means that the total length of the file path, including the folder name, cannot exceed 260 characters. If the folder name is too long, it could cause the file path to exceed the limit and prevent syncing.
    2. Compatibility Issues: Some older programs or file systems may not be able to handle long folder names. This could cause issues with syncing if the program or file system is used to sync the files to other devices or locations.
    3. Technical Limitations: Some technical limitations in the syncing process may prevent long folder names from being synced correctly. For example, if the folder name contains special characters or is too long, it may cause issues with the syncing algorithm.
    4. Confusion: having long folder names may cause confusion for users and make it difficult for them to find the files they need.

    It's recommended to use shorter folder names to avoid these issues, and make sure that the total length of the file path, including the folder name, does not exceed 260 characters.

    Additionally, avoid using special characters and spaces in the folder name as they can cause issues with syncing.


  2. Amandeep Singh 0 Reputation points
    2023-11-30T23:43:43.42+00:00

    I have the same issue with the file name is bigger but less than 30 characters and it is not opening the file. But when I rename the file and put the 5-10 characters, it opens in the system.

    On the other hand, the other user didn't change the file name but the file is open in their system

    Both have the same permission and level on the same folder under one drive

    Need to expect advice


  3. Tom Postma 0 Reputation points
    2024-11-08T15:46:45.4533333+00:00

    I have delete the file on OneDrive and PC, still give the same error message, have uninstalled and reinstalled, still the same message, I'm really done, desperate.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.