Download file name contains "5C"-byte

Files and folders downloader add-on with resume support.
Post Reply
truongvu
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am

Download file name contains "5C"-byte

Post by truongvu »

Hello, Can you give me advice for below case.

I download a file contains 5C character .
Download files whose name contains "5C"-byte is overwritten without confirm dialog.
I am using Japanese locale , Symfony PHP .
When using Japanese locale , I can not download file with normal Japanese as "C:\data\全表示.pdf"
So i have to use function mb_convert_encoding() to encode Japanese char to Shift_Jis
Example: 全表示.pdf -> �S�\��.pdf
--> Return url when i download file is "C:\data\�S�\��.pdf" ( with "\" is 5C character )
My current matter is download Ok ( by using temp file ), not confirm overwrite with exists file on server.
Using version Jfiledownload 2.9
Thank you any help

Post Reply