Umlauts problem in ftp client (with Filezilla server)

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
kaffe
Junior Member
Junior Member
Posts: 14
Joined: 2006-12-10, 16:22 UTC
Location: Sweden

Umlauts problem in ftp client (with Filezilla server)

Post by *kaffe »

Umlauts causes some trouble for total commanders ftp(s) client. For me that would primarily be the Swedish varieties å, ä and ö.

This is a session against filezillas latest ftp server
Image: http://wiki.e-tintin.com/uploads/totcmd-ftp.gif

While if I use the sftp plugin everything looks just fine so it should not be a font problem. This is against cygwins ssh/sftp server.
Image: http://wiki.e-tintin.com/uploads/totcmd-sftp.gif

The display problem would be a nuisance in itself but downloaded files containing umlauts keeps the wierd characters in their names. Changing directories and up/downloading data works, but umlauted characters are changed. Other ftp clients plays nicely against the FZ server so even if FZ server have some errors, most clients seem to be able to cope with them.

Am I the only one suffering from this problem?

// Jonas
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is a bug (some call it feature) of Filezilla: It connects in UTF8 mode! Normally ftp servers only switch to UTF8 when asked to do so. Filezilla, however, needs to be asked to turn UTF8 mode off.

In the connection settings for this connection in Total Commander, please add the following command to the "commands" option:

OPTS UTF8 OFF
Author of Total Commander
https://www.ghisler.com
kaffe
Junior Member
Junior Member
Posts: 14
Joined: 2006-12-10, 16:22 UTC
Location: Sweden

Post by *kaffe »

That works perfectly, thanks :) Do the RFC's concerning ftp stipulate the character encoding or is this choosen freely? Since unicode is slowly taking over, would there perhaps emerge more servers running unicode per default? Since you mentioned this as a "feature" by (I assume) FZ supporters do they have any rationale for using UTF8? I suppose it will break more ftp clients than Total Commanders?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed initially they didn't even add the OPTS UTF8 OFF option, and got many many complaints in their sourceforge forums because it breaks a lot of FTP clients. All they offered as a solution was to "use the filezilla client". Fortunately they finally listened to their users and added the option to turn UTF8 off.

The FTP standards document RFC959 just says that the control connection uses the TELNET standard. Telnet doesn't explicitly state what encoding is used, but it's common practice to use the local ANSI encoding of the target system. 99% of all ftp servers use this, and some can switch to UTF8 on demand.
Author of Total Commander
https://www.ghisler.com
kaffe
Junior Member
Junior Member
Posts: 14
Joined: 2006-12-10, 16:22 UTC
Location: Sweden

Post by *kaffe »

Ah, that clears things up :) Wierd that they do not give the option to start and run the server in ANSI mode. But there aint to many windows based servers out there that supports ftps. Especially not free ones...
Post Reply