can't connect to FTP server -- disconnects after FEAT command

2

1

I'm trying to connect to an FTP server of which I do not control. WinSCP & FileZilla both do not connect. Here is a scrubbed down log:

Status: Connecting to xxx.xxx.xxx.xxx:21...
Status: Connection established, waiting for welcome message...
Response:   220 (vsFTPd 2.0.1)
Command:    USER xxx
Response:   331 Please specify the password.
Command:    PASS ***********
Response:   230 Login successful.
Command:    FEAT
Response:   211-Features:
Error:  Could not connect to server

I verified that the FEAT command is the issue, because I connected to the server using windows commandline ftp.exe, and after running quote FEAT, it would give me the same response:

211-Features:

...and then disconnects.

What exactly is happening here? Also, since I do not control the FTP server, is there a way in either FileZilla or WinSCP to get around this (ie, keep them from sending the FEAT command after connection?)

Update 1

  • I'm able to connect to other FTP servers fine -- just a problem with this particular server

Update 2 - some more strangeness discovered. Let me describe my setup a little more. I am trying to connect from a laptop (dev A) (static IP address 192.168.1.2) that is connected wirelessly to another laptop running ICS (dev B) (wireless adapter has static IP address of 192.168.1.1, but it has an external IP address .
- I have no issues connecting to the server from dev B. (FEAT command returns a valid response) - I have no issues connecting to OTHER FTP sites using dev A (FEAT command returns valid response)

So it can't be a firewall issue, since I'm able to connect to other sites fine with dev A -- but it can't be an issue with the particular FTP server because I can connect to it fine with dev B....??

This is a head scratcher... :(

johnL

Posted 2014-01-18T04:58:56.433

Reputation: 192

Apart from the FEAT command, can you do anything at all before the disconnect? dir, cd, ls,....? – MariusMatutiae – 2014-01-18T08:25:17.047

@MariusMatutiae Yes, I can do all basic operations using the ftp.exe windows commandline client. I just can't use WinSCP or FileZilla since those programs issue a FEAT after authenticating. – johnL – 2014-01-18T20:24:47.083

As a followup question, does anyone know of any GUI FTP clients (Windows) that do NOT issue a FEAT command? – johnL – 2014-01-18T20:26:30.560

Increase Filezilla's debug output level (Edit->Settings->Debug) and perhaps you'll learn more about what's causing the disconnect. – Andrew Lambert – 2014-06-12T16:46:09.660

Answers

4

Try to use Total Commander with this option, added to wcx_ftp.ini:

[General]
PreventFEAT=1

This will prevent using 211-Feature command. This is a bug of ICS mechanism in windows, not FileZilla or other ftp-clients or servers.

Sergey Ripa

Posted 2014-01-18T04:58:56.433

Reputation: 56

do you have any links documenting this ICS bug? – johnL – 2015-02-23T17:19:12.553

0

Might be a bug in the FTP server. Please consult the system admin of the server.

Gaurav Joseph

Posted 2014-01-18T04:58:56.433

Reputation: 1 503

sysadmin of the server (it's a big webhosting company) won't fix it because he says he can connect to it fine :( – johnL – 2014-01-18T05:04:40.407

Try increasing your TTL limit. – Gaurav Joseph – 2014-01-18T05:08:56.273

can you provide additional information on why you think this error is happening, and reasoning for your suggestions? I am not only looking for a solution, but also trying to understand what exactly is happening. – johnL – 2014-01-18T20:29:13.913