Special character in filename ("%25" replaced by "%" eg : MyString%25640.pdf ->MyString%640.pdf)

Advertisement

VincentV
Guest

Special character in filename ("%25" replaced by "%" eg : MyString%25640.pdf ->MyString%640.pdf)

Hi everyone,

I'm sending PDF files which have this format "MyCorp%25600 - MyClient.pdf" where 25600 is the Client number.
The "%25" is replaced by % at the sending : "MyCorp%25600 - MyClient.pdf" -> "MyCorp%600 - MyClient.pdf" and the client number is truncated...

I know this is a special character (and we don't have to put special characters in filename) but I've no choice...

My (ugly) solution was to replace % by %25 :
"MyCorp%25600 - MyClient.pdf" -> "MyCorp%2525600 - MyClient.pdf"

Any cleaner solution?

Many thanks

PS : Winscp with .NET assembly is great!!

Vincent

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum