mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sai Pullabhotla (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FTPSERVER-326) LIST command does not work right with hidden files
Date Mon, 07 Sep 2009 16:36:58 GMT

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

Sai Pullabhotla updated FTPSERVER-326:

    Attachment: FTPSERVER-326.patch

This is the fix for handling hidden files correctly. The fix is actually pretty simple. I
could not create a test case for this as I do not have access to *NIX. However, I did some
manual testing and things seem to be working as expected. 

I've a couple of questions/comments 

* This fix also affects the NLST command. NLST command now includes hidden files if and only
if option "a" is present. 

* This fix also affects MLSD command, which always ignores hidden files. Previous versions
were listing hidden files always. Do you think it is okay or should we change the MLSD to
do what it was doing - list all files? 

* If we hide hidden files in MLSD, what should the "MLST hiddenfile" command do? Currently
it still prints the attributes of the file. 

> LIST command does not work right with hidden files
> --------------------------------------------------
>                 Key: FTPSERVER-326
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-326
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.2
>            Reporter: Sai Pullabhotla
>            Priority: Minor
>             Fix For: 1.0.3
>         Attachments: FTPSERVER-326.patch
> It appears that the LIST command does not work quite right with hidden files. My testing
on a Windows system gave the following results: 
> (1) a simple LIST command with no arguments, returns the list of all children (including
hidden files)
> (2) LIST -la or LIST -a command returns all files that are NOT hidden 
> I think the behavior should be the other way round; i.e. (1) should return all children
that are not hidden and (2) should return all children including the hidden ones. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message