You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/06/24 00:29:13 UTC

DO NOT REPLY [Bug 51427] New: Response to NLST does not include subdirectories. NLST -l is fine

https://issues.apache.org/bugzilla/show_bug.cgi?id=51427

             Bug #: 51427
           Summary: Response to NLST does not include subdirectories. NLST
                    -l is fine
           Product: Apache httpd-2
           Version: 2.2.15
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_ftp
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mi+apache@aldan.algebra.com
    Classification: Unclassified


Here is a sample session, connecting with Solaris-8's stock:

ftp> ls
200 PORT: Command successful
150 Opening ASCII mode data connection for file list
a
z
226 Transfer complete.
6 bytes received in 0.00068 seconds (8.59 Kbytes/s)
ftp> ls -l
200 PORT: Command successful
150 Opening ASCII mode data connection for file list
drwxr-xr-x    4 root     wheel         512 Jun 23 14:00 A
-rw-r--r--    1 root     wheel           3 Jun 22 03:07 a
-rw-r--r--    1 root     wheel           0 Jun 21 23:56 z

Notice, how the directory "A" is not listed in the short listing... According
to Apache log on the server, the commands issues by the client where:

158.121.105.77 - mi [23/Jun/2011:18:14:00 -0400] "PORT 158,121,105,77,131,160"
200 - "-" "-"
158.121.105.77 - mi [23/Jun/2011:18:14:00 -0400] "NLST" 226 - "-" "-"
158.121.105.77 - mi [23/Jun/2011:18:14:02 -0400] "PORT 158,121,105,77,131,161"
200 - "-" "-"
158.121.105.77 - mi [23/Jun/2011:18:14:02 -0400] "NLST -l" 226 - "-" "-"

(FreeBSD's ftp-client always performs "LIST" (not "NLST") and thus always gets
the complete full listing...)

Now, the specification for response to "NLST" is vague and only mentions
"filenames": http://www.nsftools.com/tips/RawFTP.htm#NLST

But the existing servers (such as ftp.freebsd.org) always list subdirectories,
even in response to NLST.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 51427] Response to NLST does not include subdirectories. NLST -l is fine

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51427

Mikhail T. <mi...@aldan.algebra.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Mikhail T. <mi...@aldan.algebra.com> 2011-07-01 20:26:52 UTC ---
Umm, never mind. Apparently, this is controlled by the FTPOptions     
NLSTShowDirs.

Never heard of it being off, though...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 51427] Response to NLST does not include subdirectories. NLST -l is fine

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51427

Jeff Trawick <tr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |INVALID

--- Comment #2 from Jeff Trawick <tr...@apache.org> 2011-07-02 19:15:47 UTC ---
no changes required so changing to "invalid"

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org