You might think after reading this question that it is somehow unrealistic but the below situation is there in one of our production applications.
One of our users reported that he is getting an error if he tries to upload files with too long names, we got to fix that by limiting file names to not exceed 255 chars including file extensions. But we faced another weird behavior that is there in Internet Explorer only.
If user tries to upload a file that its length including extension is 255 chars, FileUpload is not picking the file (i.e. doesn't recognize file) and the textbox that shows the filename remains blank. This is valid in IE8, IE9 and IE 10 ! This is valid in ASP.NET or SharePoint solutions.
I tried to upload the same file in GMail, I was able to upload it in all browsers except Internet Explorer which means it is something related to IE.
Any suggestions? any fixes?