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 01:02:36 UTC

[jira] [Updated] (FTPSERVER-477) Request: Add option to force listing of hidden files

     [ https://issues.apache.org/jira/browse/FTPSERVER-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel updated FTPSERVER-477:
-----------------------------
    Description: 
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 when using FTP clients such as Filezilla with the default settings.

Ideally, you should be able to override this, and force hidden files to always be displayed (like most other FTP servers).

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

  was:
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


> 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
>              Labels: features
>
> 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 when using FTP clients such as Filezilla with the default settings.
> Ideally, you should be able to override this, and force hidden files to always be displayed (like most other FTP servers).
> 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)