httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51427] New: Response to NLST does not include subdirectories. NLST -l is fine
Date Thu, 23 Jun 2011 22:29:13 GMT
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


Mime
View raw message