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).
it is not done... my path is 135 characters incl. spaces and the file name is <100 characters. Still I get the "too long" error.. Way below the 430 character limit - What is going on?
Patrick Wank commented
Try LONG PATH TOOL to shorten the file name and then try the rest..
the software is very effective.
Same problem here too...
Same problem here.
As an Academy moving our files over to OneDrive to enhance remote working for both Staff Students this has now become a major problem.
The daft thing is, if I open the Desktop App, say Word or Excel and select our SharePoint site to open the document I can easily navigate to the Document and open it directly from OneDrive.
If I then just open in the Browser, Click open in Excel, it fails due to the filename being too long.
A real schoolboy error on Microsoft's part. I did think they had professional programmers working for them instead of junior interns.
Mohd. Helu commented
RIDICULOUS!!! After subscribing to Office 365 mainly for OneDrive, I couldn't copy ANYTHING due to the "too long path"!!! Will unsubscribe now!!!
Come on guys - this is pathetic. Does the "Boom its Done" status mean that this is not being monitored anymore? I am getting issues when syncing Sharepoint document libraries with OneDrive - I cannot open files that are more than 256 characters??? I thought that this was now sorted, and fixed for all??
Still not working. Completely unacceptable, we moved everything to O365 earlier this year and every day I regret that decision more and more.
The "use long path tool" comments are pure spam and should be removed - it's not a viable solution for most corporate environments, especially when this is an issue that should not have existed for well over a decade.
HOw do you make teh 430 characters work? I have onedrive and still get creamed at abotu 240 characters?
I googled this because my folder names are getting cut off too!! I did not make them up, it was Itunes. I am hoping that the correct metadata is embedded into the MP3s themselves, but this is really stupid!
There are many many things about navigating thru my folders that is intensely irritating.
1. It does not find anywhere near close to all my files.
2. I have to scroll through thousands of folders (and I don't even know where iTunes put them...that is another whole stupid thing, like putting all greatest hits of an artist under compilations, which is only findable under "The Very Best of...." or something like that which means I can't find stuff at all. I don't know if it never got uploaded, or is simply lost forever. Again, an adequate search engine would have been nice.
3. Cannot open folders in a new window. This would mitigate much of the annoyance of this following scenario...ie. after examining contents of folder W (near the end of the lest), I must hit the back arrow and go back to A. Then scroll all the way down to get to Z.
When you have to do this 100 times because I am checking to make sure all my iTunes store purchases made it to OneDrive (some didn't and I don't know why), it is SUPER TEDIOUS!!
Is this what happens when you outsource all your IT and pay peanuts? I am just curious.
I have totally given up on OneDrive as a means of ever actually playing the cloud copy of my music [which is what I wanted more than anything]. I will start uploading it in small bits to Google Play since that at least works!!
C. R. Williams commented
Still not working after a number of years. I wish my company would just dump the MS products for something that really works, like Google for Business. Onedrive for Business is a kludge at best, it certainly isn't a polished product.
Same issue here after migrating from Dropbox. This sounds like a problem from last century. Why is it still here?
Brad Wilson commented
Whilst this seems to have given me some relief (not complete relief) when working in Windows Explorer, if I save a file via MS Word, I encounter all sorts of issues when the pathname is >256 chars. One of the issues is that word will just complain and not allow me to save a doc. Another issue I've seen is that it autosaves the doc with the old DOS truncation of folder/file names (eg DOCUME~2\CONSUL~1\...); this of course creates a whole new directory tree in my onedrive account whenever this occurs, requiring me to regularly clean up.
Little rant: I've had so many issues with Onedrive after migrating my terabyte or so of stuff from Dropbox. I'm too far in now to go back and I am saving money, but boy do I regret it. Microsoft, your customers should not be feeling such deep regret for switching to your products. As an engineer myself, I'm dumbfounded by some of the quality issues I've encountered. Not just annoyed, but really quite dumbstruck. You know when you see those viral photos online of shoddy building works that are so stupid you can only shake your head and wonder in complete bewilderment how anyone could have allowed them to be signed off - well that's the kind of bewilderment I feel when I encounter some of these issues and limitations with Onedrive (like this pathname character limit that "covers the vast majority of customers" but still clearly causes debilitating problems for the vast minority. Why not just bring it inline with Windows 10 character limits and fix it for everyone???). I truly don't get it.
Another problem with this is that if I simply want to sync a folder somewhere deep in the folder structure, OneDrive still syncs the entire directory tree and fails.
Even with longer paths in OneDrive, apps like Excel still can't handle the long path...
It's amazing that Google Drive and DropBox were able to get this right from the beginning, but Microsoft continues to struggle, and fails to work together with other Office apps.
Has somebody found a solution or a workaround for this issue?
And OneDrive for business...….
Visual Studio Cordova Apache generates files with names longer than 250 characters. They get copied to onedrive, but won't delete.
Still an issue - I can only have around 250 characters in the file path,
This is still an issue for me and hasn't been resolved. Using Win10 and OneDrive.
bob woodward commented
even if it just skipped the file, that would be better than aborting