Cyberduck Mountain Duck CLI

#6344 closed defect (thirdparty)

FEAT before USER cmd

Reported by: dooshiant Owned by: dkocher
Priority: normal Milestone:
Component: ftp Version: 4.1.3
Severity: normal Keywords: ftp feat user
Cc: Architecture: Intel
Platform: Windows 7

Description

Hi all,

Why does Cyberduck send the FEAT command before USER? This causes incompatibilities with some FTP servers. Other FTP clients do log on using USER/PASS before requesting FEAT.

Here are a couple of examples: On Microsoft FTP server

220 Microsoft FTP Service
FEAT
530 Please login with USER and PASS.

And on Check Point firewall's FTP server:

220 Check Point FireWall-1 Secure FTP server running 
FEAT
202 'USER' command expected

(at which point the server terminates the session)

However, FileZilla does accept FEAT before USER:

220-FileZilla Server version 0.9.37 beta
220-written by Tim Kosse (Tim.Kosse@gmx.de)
220 Please visit http://sourceforge.net/projects/filezilla/
FEAT
211-Features:
 MDTM
 REST STREAM
 SIZE
 MLST type*;size*;modify*;
 MLSD
 UTF8
 CLNT
 MFMT
211 End
USER user1
331 Password required for user1
PASS ********
230 Logged on

Apologies if this has been mentioned before but couldn't find any when searching trac.cyberduck.ch

Change History (2)

comment:1 Changed on Nov 3, 2011 at 12:55:44 PM by dkocher

  • Resolution set to thirdparty
  • Status changed from new to closed

Duplicate for #5184.

comment:2 Changed on Nov 3, 2011 at 12:57:54 PM by dkocher

We issue a FEAT to determine TLS capabilities of the server. The FTP specification notes that FEAT may be used anytime and we use it to query capabilities to switch to a secure connection. The server can respond with an error message but should not close the control connection.

Note: See TracTickets for help on using tickets.