What is max filename character length
The filename length related to folder path length, according from Microsoft https://msdn.microsoft.com/en-us/library/aa365247.aspx the total length is 260 character, inclued with IP and folder path.
Example:
NAS IP is "172.16.10.10"
Folder at "USBHDD"
=> \\172.16.10.10\USBHDD\ => 22 character
Thus 260-22=238 max filename length will be 238 character, included dot & sub-filename.
The max filename length is 238 character:
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234.txt
Total path 260:
\\172.16.10.10\USBHDD\123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234.txt