Enable long file paths (aka "File Name Too Long" problem when syncing)
As a developer, I have deeply nested file structures with sometimes arduously long file names. I am unable to use OneDrive as it stands now because of this. I would like to suggest that this limitation be removed. I understand that it's probably a fundamental infrastructure issue but it's severely hampering Onedrive when compared to other competitors out there right now, despite all the other cool features.
We’ve enabled significantly longer paths for your personal OneDrive in our latest Windows and Mac releases (available from http://onedrive.com/download). You should be able to use paths up to 430 characters from the root of your local OneDrive sync folder. Our telemetry tells us this covers the vast majority of customers who have hit max path issues in the past. Note that if you have over 90 characters in your local OneDrive path (that is, from drive letter to OneDrive\) you will see characters over 90 cut into the budget of 430 characters (93 character local path will mean 427 characters available for path in the OneDrive folder).
Have you tried 'long path tool'?
it's very helpful for me.
Long Path Tool will let you easily delete, copy or rename long path files.
I have just returned from a support task. The customer wanted to switch over to OneDrive from Google's cloud backup that I set up months ago to avoid paying for two online accounts. Google's backups had run perfectly. OneDrive failed like a beta program when confronted with long paths - and it was not a user-friendly job getting OneDrive to include folders outside the default settings.
Microsoft - If a file and its path fit on the NTFS system you chose for Windows you should have designed your backup facility to cope with it. Even my customer - a bookkeeper, not an IT professional commented that the backup should continue and then present a list of files that failed - it shouldn't just stop.
And people wonder why I always criticise Microsoft.
Blane Kemp commented
Hey "BOOM! IT'S DONE" Jason -- where are you? Can you enlighten us on what we need to do to make it work? Is is supposed to work in OneDrive for Business on Windows 10?
Please come back to us...as you can see from the 1000+ comments, nobody is seeing the boom.
Having the same issue since IT insisted we start using onedrive. Gonna talk to my IT people about it but i'm sure its nothing they can control
And why doesnt OneDrive just report/skip the only file/folder that is too long? It is not syncing the rest of my files.
Is this by design?
Copying a complete path (folder path and filename) with 282 characters into my latest version of OneDrive using windows explorer on windows 10 build 17763 still results in the error "The file name(s) would be too long for the destination folder."
It still does not work. I am trying to save a file with one character ("h"), and still can not save to One Drive Business.
It just makes using OneDrive meaningless.
Baingyn Tuulai commented
+1 for this.
Not saying I'm all right with the current setup—of course having a file path even greater than the "400 characters" that they claim would be amazing—but at least this should shed some light as to why file names not even reaching the 100-character count, will result in the same error.
I like and suggest you to try LongPathTool program. It is very helpful for copying/deleting or renaming long path files.
Boom, This is not done.
Alina Valker commented
I have been using the long path tool to resolve this issue. It has always worked for me. Whenever I encountered this error, it helped me delete, copy, move and bulk rename long path files or locked file easily.
It's not done. Still didn't work. Why do we have the problem in the first place???
Issues still exists!
Interesting if I use OneDrive Desktop sync app, i can export the word as a PDF file without any issue, but I cannot save as docx because of the error message!
Fixed only for Win10 or Paid subscribers of OneDrive...
Nice work MS, real cheap.
I still have this issue!
Doris Elizabeth Pineda commented
This is still not working. Please, fix it.
Alberto Cuomo commented
BOOM! IT'S DONE?!?!? What exactly it means?!
I still see the same problem, please help if I'm doing something wrong...
Jason - Microsoft, where are you on this? I cannot "save as" with a new file name on my sharepoint/onedrive files. Stating > 218 characters long. The company has just moved to SPO/OneDrive. HELP!!!