Accessing long filenames (directories) via SMB

hmm is there also a zfs limit? I think I am experiencing some strange issues with file path/name lengths while transferring stuff from a synology NAS. Both via sftp and smb.

Some of the paths just look like they are truncated with random character names in the title, but if I use file browser on truenas, the actual names of the directories seem fine. However, these file locations/files won’t seem to transfer over correctly and will error out when trying to move them.