Mark Ford created FTPSERVER-472:
-----------------------------------
Summary: Allow customization of LIST command file format
Key: FTPSERVER-472
URL: https://issues.apache.org/jira/browse/FTPSERVER-472
Project: FtpServer
Issue Type: Improvement
Components: Server
Affects Versions: 1.0.6
Reporter: Mark Ford
The LIST command is hard coded to use LISTFileFormater which is reasonable when
presenting a Unix style file listing. However, I have a requirement to present
a Windows style listing.
The fix is to copy/paste the whole LIST command class to change this one line
to use a different formatter.
I'd prefer to subclass or have a system preference instead.
I'm going with the copy/paste for now but will look into providing a patch for
either a cleaner subclass approach or a configuration via a factory.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)