mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FTPSERVER-477) Request: Add option to force listing of hidden files
Date Sun, 06 Nov 2016 00:59:58 GMT
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)

Mime
View raw message