I Know by default, file name length is 128 char, but can this be overridden, because I need my file name to be longer then 150 char.
These are the limits imposed by SharePoint which we can't override.
Character limit for files and folders
These limits apply to files and folders that you add to a synced library folder for uploading to SharePoint. In SharePoint Server 2013, file names can have up to 128 characters. In SharePoint Online, file names can have up to 256 characters. Folder names can have up to 250 characters. Folder name and file name combinations can have up to 250 characters.
protected by Community♦ Jun 5 '16 at 14:30
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?