mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FTPSERVER-477) Request: Add option to force listing of hidden files
Date Sun, 06 Nov 2016 01:02:36 GMT

     [ 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)

Mime
View raw message