I transfered my file serve files to the sharepoint 2013 database but now I am facing issues with file name length limit which is 256 characters.
Is there any workaround to increase this Character limit for the files and folders?
There is no way to get around the limitation, but there is a tool that Microsoft gives you to shorten files and folders, and if it can't, will rename the file/folder to something like "Invalid". https://support.microsoft.com/en-us/kb/2933738
Alternatively, you can write a PowerShell script to rename any file/folder to a lesser limit, possibly by cutting off/deleting the characters that goes over the 256 character limit.
The total URL length limit is 256 characters - SharePoint won't allow you to upload a file or folder if the total URL length exceeds that.
Note: There is no workaround to increase this Character limit for the files and folders.