Synology states...
More here,
What is the maximum allowed filename (and folder) size with eCryptfs?Seems many factors may play in including whether you are encrypting the file name itself, & what character set may comprise the file names.
So potentially (maybe ?) you may be able to get by with 255 character file names.
Next thought would be, do you in fact have file name lengths > 143 (or some other size) characters?
With Everything, I'll do a search for path:len:>260 (or path:len:>143 ...) to search for "long file names".
(That search takes the path into consideration too, not just the file name itself. Everything
probably can do the name only too, but I'm not sure how, offhand.)
(Oops,
Everything.)
Then, how to shorten things... ?
If there is commonality to the file names, perhaps you can simply use an abbreviation to get things smaller.
So if you had file names like (& assuming they were in fact much longer):
RP 17802 Addendum No 3-Dwgs and Bid Clarifications-Page 1 to 22-SIGNED (003)_08.pdf
RP 17802 Addendum No 3-Dwgs and Bid Clarifications-Page 1 to 22-SIGNED (003)_07.pdf
RP 17802 Addendum No 3-Dwgs and Bid Clarifications-Page 1 to 22-SIGNED (003)_06.pdf
RP 17802 Addendum No 3-Dwgs and Bid Clarifications-Page 1 to 22-SIGNED (003)_05.pdf
RP 17802 Addendum No 3-Dwgs and Bid Clarifications-Page 1 to 22-SIGNED (003)_04.pdf
RP 17802 Addendum No 3-Dwgs and Bid Clarifications-Page 1 to 22-SIGNED (003)_03.pdf
RP 17802 Addendum No 3-Dwgs and Bid Clarifications-Page 1 to 22-SIGNED (003)_02.pdf
RP 17802 Addendum No 3-Dwgs and Bid Clarifications-Page 1 to 22-SIGNED (003)_01.pdf
(depending...) maybe simply changing Addendum to Add & removing Clairifications & Page, entirely, would be sufficient.
RP 17802 add No 3-Dwgs and Bid - 1 to 22-SIGNED (003)_08.pdf
RP 17802 add No 3-Dwgs and Bid - 1 to 22-SIGNED (003)_07.pdf
RP 17802 add No 3-Dwgs and Bid - 1 to 22-SIGNED (003)_06.pdf
RP 17802 add No 3-Dwgs and Bid - 1 to 22-SIGNED (003)_05.pdf
RP 17802 add No 3-Dwgs and Bid - 1 to 22-SIGNED (003)_04.pdf
RP 17802 add No 3-Dwgs and Bid - 1 to 22-SIGNED (003)_03.pdf
RP 17802 add No 3-Dwgs and Bid - 1 to 22-SIGNED (003)_02.pdf
RP 17802 add No 3-Dwgs and Bid - 1 to 22-SIGNED (003)_01.pdf
If more diverse names... ?