You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Gary Russell (JIRA)" <ji...@apache.org> on 2015/01/02 19:42:34 UTC
[jira] [Created] (FTPSERVER-464) Incorrect Format For MLST Response
Gary Russell created FTPSERVER-464:
--------------------------------------
Summary: Incorrect Format For MLST Response
Key: FTPSERVER-464
URL: https://issues.apache.org/jira/browse/FTPSERVER-464
Project: FtpServer
Issue Type: Bug
Components: Core
Affects Versions: 1.0.6
Reporter: Gary Russell
>From RFC 3659
{noformat}
control-response = "250-" [ response-message ] CRLF
1*( SP entry CRLF )
"250" [ SP response-message ] CRLF
{noformat}
{quote}
Note that for MLST the fact set is preceded by a space. That is
provided to guarantee that the fact set cannot be accidentally
interpreted as the terminating line of the control response, but is
required even when that would not be possible. Exactly one space
exists between the set of facts and the pathname. Where no facts are
present, there will be exactly two leading spaces before the
pathname. No spaces are permitted in the facts, any other spaces in
the response are to be treated as being a part of the pathname.
{quote}
The {{MLSTFileFormater}} invoked from the {{MLST}} command should include an initial {{SP}}.
This causes a problem with the {{NET FTPClient}} in that the {{size}} fact is lost.
The formatter should *not* include a space when invoked from the {{MLSD}} command.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)