Hi,
I'm using Onedrive with the crypt backend, using standard encryption for filenames. I'm trying to understand path and filename length limitations:
What is the maximum path length I can use (before encryption), given https://rclone.org/onedrive/ states Onedrive supports maximum path lengths of 400 chars?
https://rclone.org/crypt/ states the maximum support filename length is 143 chars, before encryption. Where is the fundamental limit coming from? Local filesystems?
What is crypt's overhead for filename encryption?
Thanks a ton for writing and maintaining rclone. It's beautifully designed, written, and documented, and the rare piece of software that behaves exactly as expected, which made it super simple to get up and running in minutes!
That's coming as a general statement to be safe across mostly all providers and the OS. On one drive it would be higher given the limit is 400. But your OS likely has limits if you want to copy it back down.
For the curious, OneDrive via Webdav shows me a limit of 362. My " /personal/[YOUR-EMAIL]/Documents" part of the URL happens to be 38 characters (see https://rclone.org/webdav/), making the sum 400. I assume this is more than a coincidence.