Bug #1806

Showtime's FTP server doesn't support unicode

Added by Leonid Protasov almost 7 years ago. Updated almost 7 years ago.

Status:FixedStart date:12/15/2013
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:4.4
Found in version:4.3.582 Platform:RPi

Description

I connect with Total Commander 8.01 that supports utf8 in ftpclient.

230 User logged in
SYST
215 UNIX Type: L8 Version: 4.3.582.g554d3 Linux/arm
FEAT
211-Features supported
SIZE
211 End
HELP SITE
500 'HELP': Command not understood
OPTS UTF8 ON
<lprot-> 500 'OPTS': Command not understood
<lprot-> Connect ok!

That leads to that if I create folder in cyrillic or any utf8 coded symbols - is not displayed correctly in ST GUI or in shell in console (no matter if utf8 is enabled in putty or not).

I beleive all platforms are affected.

Associated revisions

Revision 04b66325
Added by Andreas Smas almost 7 years ago

ftpserver: Add support for "OPTS UTF8 ON/OFF" and report is as a FEATure

We don't actually do anything for these commands since we can deal with UTF-8
already and FTP is only defined for 7 bit ASCII which is part of UTF-8 encoding

Fixes #1806

Change included in version 4.3.595

History

#2 Updated by Leonid Protasov almost 7 years ago

This is how ftpdll.xex plugin does and it works (tested with cyrillic filenames):
Connect to: (19.12.2013 21:28:29)
hostname=192.168.0.39:7564
username=xbox
startdir=
192.168.0.39=192.168.0.39
220-xFTPDll 0.1 powered by SlimFTPd
220-You are connecting from 192.168.0.190:52672.
220 Proceed with login.
USER xbox
331 Need password for user "xbox".
PASS *****
230 User "xbox" logged in.
SYST
215 WIN32 Type: L8 Version: xFTPDll 0.1 powered by SlimFTPd
FEAT
211-Extensions supported:
UTF8
SIZE
REST STREAM
MDTM
TVFS
EXEC
SHDN
211 END
HELP SITE
500 Syntax error, command "HELP" unrecognized.
OPTS UTF8 ON
500 Syntax error, command "OPTS" unrecognized.
Connect ok!

#3 Updated by Leonid Protasov almost 7 years ago

To sum up. You just need to add UTF8 to supported extention. Nothing more! :) Ignore that OPTS UTF8 ON error. It means nothing for Filezilla and Total Commander. They just like UTF8 in supported extenstions.

#4 Updated by Andreas Smas almost 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset git|commit:04b66325d52f02db55b09acdd3e36554a16dc34f.

#5 Updated by Andreas Smas almost 7 years ago

  • Target version set to 4.4

Also available in: Atom PDF