Files and folders downloader add-on with resume support.
Yes, it works. See screenshot below with Japanese characters. I guess you have a problem with encoding.Make sure you have:
In server-side script (i.e. for JSP)
I also enclose a full working/tested sample for JFileUpload + JFileDownload + JSAPI 2.9 Pro: Does it help?
I also have this problem .
I tested on Windows 7 but it still display 'Donwload failed: cars_1918要求仕様書.jpg not found' !
I think this sample run well on Linux . Can it run well on Window ?
I use PHP but I can't find code for encoding UTF-8 in server script . Where can I put it ?
Thanks for reply !
Using your new 2.9 sample script doesn't help much. I still facing "File not found" problem. Below are what i have done:
- Set server side script encode to UTF-8
However, in server side script if I download a file with non-latin file name then the script stop right after "list" command.
Server side script never be called, so i doubt it is a server side script problem. I used your downloader with PHP + IIS web server not JSP + Apache Tomcat. Have you ever tested your downloader with above server spec? However, i'll try JSP + Tomcat if it works. Thank you for your support.
I am also having a problem with UTF-8 encoded file names. I have a script that lists files and JFileDownload is making proper HTTP requests back to download each file. It has the filenames right, as the server side script is able to provide the requested downloads. However, I believe JFileDownload is not decoding the filename from UT-8 before saving it to disk.
The filename "Iñtërnâtiônàlizætiøn.rar" ends on the disk as "IÃ±tÃ«rnÃ¢tiÃ´nÃ lizÃ¦tiÃ¸n.rar". The same messed up name is also displayed in the applet, while downloading.
The server is providing the following headers:
The Java applet should decode the "filename" using the provided charset. All browsers work perfectly fine with the same script, so I assume the problem is from JFileDownload.
Code: Select all