The connection is closed by the client explicitly after the initial directory listing fails. So, the question is why the initial directory listing fails?
The client issued command LIST -l
which is not supported by Rebex FTP server. The supported format of the LIST command is (as defined in RFC 959):
LIST [<SP> <pathname>] <CRLF>
It seems that the client is trying to pass a -l
option to the LIST command, which results to interpreting the -l
as a <pathname>
argument. Since the -l
directory does not exist on the server the 550 No such directory
response is sent to the client.
The -l
option is a non-standard extension for the LIST command.
The currently possible solution is to disable sending -l
option at the client side. However, we will consider to add support for -l
and -a
options, which seems to be used by some FTP clients. Please leave a comment here, if you want to receive preview version in case the support is added.