ftp:FEAT does not work

Project:lftp (project)
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Project wiki:lftp
Related pages:#175: lftp
Description

See the wiki page for examples of when having use-feat does not work.

With my provider's server, I get:

lftp mysite
---- Resolving host address...
---- 1 address found: 194.36.166.14                 
---- Connecting to ftp.ouvaton.coop (194.36.166.14) port 21
<--- 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------                                                 
<--- 220-You are user number 10 of 50 allowed.
<--- 220-Local time is now 09:23. Server port: 21.                                                                       
<--- 220-IPv6 connections are also welcome on this server.
<--- 220 You will be disconnected after 15 minutes of inactivity.
---> FEAT
<--- 211-Extensions supported:                                                                                           
<---  EPRT
<---  IDLE
<---  MDTM
<---  SIZE
<---  REST STREAM
<---  MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
<---  MLSD
<---  ESTP
<---  PASV
<---  EPSV
<---  SPSV
<--- 211 End.
---> QUIT
cd: Login failed: ftp:ssl-force is set and server does not support or allow SSL

I must use use-feat OFF for it to work.

However, I found this message:
http://www.mail-archive.com/lftp-devel@uniyar.ac.ru/msg01357.html

This is an RFC-2389 violation - wrong FEAT reply format. I'll add a
work-around for it.

For now, use:

set use-feat/this.server.com off

This message is from 2004. Today, I still have to turn off use-feat. I wonder is the work-around mentioned above was ever committed. I am not sure if the reply to FEAT on my server is correct or not.