OneDrive NGSC for Mac crashes with invalid/long file names

Highlighted
Occasional Contributor

Hi All,


We are in the midst of rolling out OneDrive for Business to our users.  I'm finding that, with the Mac NGSC client, my users are placing files/folders with either invalid characters or file paths that are too long - and the client isn't reporting an issue like the Windows version does, but rather, the client just crashes.  The user doesn't notice the client crash, they assume all their files are uploaded, until they go to the web or try to sync on another computer and their files are not there.

 

Has anyone else encountered this issue with the Mac client, and does anyone know of a tool for Mac that will report invalid files/file paths that are too long that we can use as a remediation step prior to migrating files?

 

Thanks,


Craig

6 Replies
Highlighted
I put an app in OneDrive without zipping it, complete disaster, had to delete it from the web abd clear up everything on the client before I could sync again. Mac Apps, look life files, in reality folders with the most horrible naming and path length.
Highlighted
Even if you had such a tool (you could write a script that checks file names and path lengths) you would have to use it for EVERY new file that is stored on OD4B. Better solution: * educate your users about the limitiations and best practices. You CAN use most of the special characters in OS X but you are not advised to do so if you intend to use the files in other systems. ** https://support.microsoft.com/en-us/kb/3125202 ** https://support.apple.com/en-us/HT202808 * provide meaningful error messages in OD4B instead of crashing (this means you, Microsoft!)
Highlighted
And this crappy platform doesn't honour paragraphs!!!
Highlighted

Hi Craig, If you need to shorten many paths systematically, there is only 1 tool on the market the does this  and that's Path Too Long Auto Fixer (http://pathtoolongautofixer.blogspot.com/). I know because I built this tool for my clients. 

It scans for directories and filenames that are longer and 260 characters, and auto shortens them. You have options how the shortening process works, like removing Unicode spaces, hyphens/dashes, underscores and punctuations. Try working demo.

Highlighted

@Mark Pahulje MVP wrote:

Hi Craig, If you need to shorten many paths systematically, there is only 1 tool on the market the does this Path Too Long Auto Fixer (http://pathtoolongautofixer.blogspot.com/). It scans for directories and filenames that are longer and 260 characters, and auto shortens them. You have options how the shortening process works, like removing Unicode spaces, hyphens/dashes, underscores and punctuations. Try working demo.


No offence but I seriously doubt that there is "only 1 tool on the market" that can shorten pathnames. My guess is there are tons of scripts that can do the same.

 

I would also be very careful to just shorten the names of directories and files automatically. You'll break an awful lot of things.

 

But Craig cannot use this tool anyway because it only runs in Windows. Craig uses macOS.

Highlighted

I recommend LongPath Tool. Try it.