Is there any way around the 400 max character length for files/filepath in OneDrive? File names become longer when they are encrypted.

Unfortunately, there is no way to shorten the length of an encoded name. Each filename is encrypted into byte form and then encoded to string form.


This will add some overhead to the final output.


Our encoding method adds 33% to the final result.  DataLocker has looked into using different methods of encoding but has found our current method to be the best for foreign language support (UTF8).  

Users will have to turn off file name encryption if they were to retain the same path length.


Please be certain to note that if you disable filename encryption it could cause file errors and possible duplicate files.


If you wish to disable filename encryption after you have already saved folders and files to your SafeCrypt drive, please back them up and then delete them from your drive prior to changing the File Name Encryption settings.

This is strictly a OneDrive limitation and not a SafeCrypt limitation.