Closed Bug 198754 Opened 21 years ago Closed 8 years ago

FTP/html: Directory listings have case-sensitive sort

Categories

(Core Graveyard :: Networking: FTP, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: gregvalure, Unassigned)

References

Details

(Keywords: helpwanted)

20030312 WinXP (1.3)

Local and FTP directory listings are sorted in a case-sensitive manner, meaning
files appear in A-B-C-a-b-c order instead of A-a-B-b-C-c order.  I don't know if
this is typical on other platforms but it's not on Windows.

ftp://ftp.mozilla.org/pub/mozilla/nightly/ works as an example, since README
appears above experimental.

A guess at the component.  I don't know if this should be dealt with here (FTP
code should return sorted results) or in the directory listing formatter (should
sort results before building HTML listing) or what component the latter even is.
->NEW, Camino 0.7 does this too.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Directory listings have case-sensitive sort → FTP/html: Directory listings have case-sensitive sort
We do no sorting.  The file listing is generated by the server and we convert it
to an internal format (indexed html).  from this format we make it pretty by
converting it to html.  Through this process, ordering is preserved.


This would be a pretty easy project for someone wanting to get involved in
mozilla development.  Basically, what is needed is a better html generation
based on the indexed format.  The code lives here:

http://lxr.mozilla.org/seamonkey/source/netwerk/streamconv/converters/nsIndexedToHTML.cpp

Severity: normal → enhancement
Keywords: helpwanted
Target Milestone: --- → Future
*** Bug 227895 has been marked as a duplicate of this bug. ***
Yeah this bug isn't limited to case sensitive. It's just the sorting.

But, I think this is just "works as intended" according to Comment #2, thus
invalid as a bug. But I'll leave the marking to the assignee or the QC contact,
since they both commented here ;P
*** Bug 225628 has been marked as a duplicate of this bug. ***
mass reassigning to nobody.
Assignee: dougt → nobody
only critical ftp changes at this point
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.