[Cyberduck-trac] [Cyberduck] #5162: File Names not uploaded properly if contain accented characters

Cyberduck trac at trac.cyberduck.ch
Wed Sep 8 17:18:35 CEST 2010


#5162: File Names not uploaded properly if contain accented characters
---------------------------+------------------------------------------------
 Reporter:  thekiwi        |          Owner:  dkocher
     Type:  defect         |         Status:  new    
 Priority:  normal         |      Milestone:         
Component:  core           |        Version:  3.6.1  
 Severity:  normal         |       Keywords:  UTF-8  
 Platform:  Mac OS X 10.5  |   Architecture:  Intel  
---------------------------+------------------------------------------------
 I have been struggling for a while with uploading filenames with accented
 characters in them to an FTP site. The file name "seems" to be preserved
 on upload and it looks correct, but if I copy the filename out of
 CyberDuck after the upload has completed, and paste it into TextWrangler,
 it shows a red upside down question mark instead of the accented
 characters.

 And if I retype that name in CyberDuck, I can then upload the file again
 from my Mac so that it then looks like there are 2 identically named files
 on the server.

 For whatever it's worth, Captain FTP also seems to have this same problem,
 but FileZilla doesn't.

 If you look at this directory listing

 http://wmgs.org/tng_utf8/photos/

 all the names are mangled (that's an Apache thing apparently), but the 2
 that end in .CD.2.gif both point to different files, but if you click
 them, the name that comes up in the Safari address bar is apparently the
 same, yet both exist in the same directory on the server. One of these was
 uploaded with FileZilla, the other with CyberDuck.

 This has come about because the files are used in PHP scripts for
 genealogy and there are problems reading the file names and writing them
 into the database for later retrieval. It is the files that when the name
 is copied into TextWrangler show the red upside down question mark that
 cause issues with the PHP scripts. The file names "look" OK in phpMyAdmin
 but there's an issue somewhere.

 CyberDuck is set to UTF-8 in the Preferences, and in the settings for that
 Bookmark. I've been told that the server is set to UTF-8 also.

 If you need access to this server let me know and I can eMail the
 credentials to you.

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/5162>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV, Cloud Files, Google Docs, Azure and S3 Browser for Mac OS X.


More information about the Cyberduck-trac mailing list