You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Daniel (JIRA)" <ji...@apache.org> on 2016/11/06 00:59:58 UTC
[jira] [Created] (FTPSERVER-477) Request: Add option to force
listing of hidden files
Daniel created FTPSERVER-477:
--------------------------------
Summary: Request: Add option to force listing of hidden files
Key: FTPSERVER-477
URL: https://issues.apache.org/jira/browse/FTPSERVER-477
Project: FtpServer
Issue Type: Task
Components: Core
Affects Versions: 1.1.0
Reporter: Daniel
Priority: Minor
Currently, unless the "-a" argument is passed with the LIST, NLST, or MLSD commands, hidden files are hidden from the connected client.
This prevents folders containing hidden files from being deleted.
Ideally, you should be able to override this, and force hidden files to always be displayed (like most other FTP clients).
Possibly something like the following:
> BaseUser user = new BaseUser();
> user.setShowHiddenFiles(true);
Currently, a visible file filter is hardcoded to be called if the "a" argument isn't present, in core/src/main/java/org/apache/ftpserver/command/impl/listing/DirectoryLister.java
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)