Illegal Character in File Name

Posted by Sri Kumar on Stack Overflow See other posts from Stack Overflow or by Sri Kumar
Published on 2010-05-19T12:55:32Z Indexed on 2010/05/19 13:00 UTC
Read the original article Hit count: 209

Hi,

During my file upload process, I found illegal character getting saved in Table. zurück.pdf, C _Word.doc were the file names. Here ü, space between C and _Word was found as ? in the Table Column. I have validate the filename in client side by replacing non-alpha numeric values by _ (underscore), but still it escapes and persist into DB. How can these handled in Client side?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET