UTF-8 in ftp client.

Oleksandr Gavenko gavenko@bifit.com.ua
Tue Apr 6 14:21:00 GMT 2010


On 2010.04.06 16:22, Václav Haisman wrote:
>
> On Tue, 06 Apr 2010 15:58:18 +0300, Oleksandr Gavenko<>  wrote:
>> On 2010.04.06 12:50, Oleksandr Gavenko wrote:
>>> I use filezilla to host file server. As explain article:
>>>
>>> http://wiki.filezilla-project.org/Character_Set
>>>
>>> for multilang environment need use UTF-8.
>>>
>>> How can I force Cygwin ftp client use UTF-8?
>>>
>>> ftp>  ls
>>> 200 Port command successful
>>> 150 Opening data channel for directory list.
>>> drwxr-xr-x 1 ftp ftp 0 Oct 16 2009 music
>>> drwxr-xr-x 1 ftp ftp 0 Sep 11 2009 pub
>>> drwxr-xr-x 1 ftp ftp 0 Apr 06 09:28 VERSUS. Хруст без
>>> правил
>>> -r--r--r-- 1 ftp ftp 9994240 Apr 05 13:15 РҐСЂРµРÐ
СЊ.
>>> РЎРµРÐ
СЃР°РÐ
циоРÐ
РÐ
ый РґРѕРєСѓРјРµРÐ
тальРÐ
ый фильм.mp4
>>>
>>>
>> I read http://www.ietf.org/rfc/rfc2640.txt
>> Standard say that server can report UTF-8 support by FEAT command but
>> Cygwin ftp client dont understand it:
>>
>> ftp>  rhelp feat
>> 214 Command FEAT is supported by FileZilla Server
>> ftp>  feat
>> ?Invalid command
>> ftp>  help feat
>> ?Invalid help command feat
>>
>> rfc2640 dated by 1999, so long time left.
> There is no such thing (AFAIK) as "Cygwin ftp client." You are most likely
> running the Windows FTP client from WINDOWS/SYSTEM32 directory. Install
> lftp or other FTP client using setup.exe.
No I am running ftp from Cygwin distro:

Cygwin use inetutils to provide ftp client:

bash#  which ftp
/usr/bin/ftp

bash# ftp --version
ftp (GNU inetutils) 1.5

Latest version from http://ftp.gnu.org/gnu/inetutils/ - 1.7

I grab inetutils-1.7.tar.gz and grep sources for FEAT keyword.
No thing found.

I also install lftp and ncftp. With ncftp I have same truble.
lftp understand UTF-8 but FEAT command not available.

So I can use lftp for my purpose.

Note that this client written by
one whose native Russian speaker, so I think author understand
problem with multilang environment in contrast to developers
from English countries which nothing hear about non ASCII. ARGH!!!


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list