Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT before USER cmd #6344

Closed
cyberduck opened this issue Nov 3, 2011 · 2 comments
Closed

FEAT before USER cmd #6344

cyberduck opened this issue Nov 3, 2011 · 2 comments
Assignees
Labels
bug ftp FTP Protocol Implementation thirdparty Issue caused by third party

Comments

@cyberduck
Copy link
Collaborator

c012f9d created the issue

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

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Duplicate for #5184.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

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.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug ftp FTP Protocol Implementation thirdparty Issue caused by third party
Projects
None yet
Development

No branches or pull requests

2 participants