Closed Bug 220948 Opened 22 years ago Closed 21 years ago

Browser displays the wrong year when browsing a ftp directory

Categories

(Core Graveyard :: Networking: FTP, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 236365

People

(Reporter: sm, Assigned: dougt)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030925 Mozilla displays the wrong year when listing the file and directories at ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/ Reproducible: Always Steps to Reproduce: 1. Enter ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/ as the url 2. View the date displayed for the file and directories. The year is incorrect. Actual Results: Index of ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/ Up to higher level directory pkgsrc.tar.gz 19062 KB 27-09-2002 05:24:00 src 27-09-2002 05:12:00 xsrc 27-09-2002 05:31:00 Expected Results: Index of ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/ Up to higher level directory pkgsrc.tar.gz 19062 KB 27-09-2003 05:24:00 src 27-09-2003 05:12:00 xsrc 27-09-2003 05:31:00
Can you capture some ftp -d output?
Here is a capture of the ftp -d output. Please note that the time, day and month have changed as the files have been updated. ftp> ls ---> EPSV 229 Entering Extended Passive Mode (|||58122|) ---> LIST 150 Opening ASCII mode data connection for '/bin/ls'. total 38992 -rw-rw-r-- 1 234 netbsd 19896353 Oct 4 04:58 pkgsrc.tar.gz drwxrwxr-x 2 234 netbsd 1024 Oct 4 04:44 src drwxrwxr-x 2 234 netbsd 512 Oct 4 05:10 xsrc 226 Transfer complete. ftp>
confirming on win2k,linux another example: When you go to ftp://ftp.gwdg.de/pub/linux/suse/people/varkoly/Schulserver/doku/ it displays Installationsanleitung.sxw 9 KB 10/10/03 06:27:00 Praesentation-Schoolserver-en.sxi 161 KB 10/24/02 15:00:00 Praesentation-Schulserver-de.sxi 161 KB 10/24/02 15:00:00 Schoolserver-de.cd.pdf 3113 KB 10/24/02 15:01:00 But other browsers and ftp say (which is right, these files didnt even exist a year ago i know that): -rw-r--r-- 1 suse susewww 8683 Oct 10 06:27 Installationsanleitung.sxw -rw-r--r-- 1 suse susewww 164647 Oct 24 15:00 Praesentation-Schoolserver-en.sxi -rw-r--r-- 1 suse susewww 164679 Oct 24 15:00 Praesentation-Schulserver-de.sxi -rw-r--r-- 1 suse susewww 3186919 Oct 24 15:01 Schoolserver-de.cd.pdf (when the year is the current year, ftp under linux doesnt display it).
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
I confirm this bug on Win XP home with the 20031101 1.6a release and the 2003120109 1.6b nightly using ftp.mozilla.org or ftp.opera.com . Many dates of the files and of the directories are set on 25. 11. 2002 or 28. 11. 2002. This occurs sometimes after having changed the directory. I'm sure that the latest 1.6 nightly or Opera 7.23 didn't exist in 2002. Other browsers on the same WinXP show correct dates.
Any chance of traction here for 1.7a? /be
This bug is visible on the latest tarball for JavaScript 1.5, js-1.5-rc6.tar.gz, which I published at the Mozilla ftp sites on 2004-01-30, at 15:49 Pacific Standard Time. When viewed in Mozilla via the http protocol, it shows up correctly! When viewed via the ftp protocol, it shows up with last year's date: http://ftp.mozilla.org/pub/mozilla.org/js/ -----> 30-Jan-2004 15:49 ftp://ftp.mozilla.org/pub/mozilla.org/js/ -----> 01/30/2003 11:49:00 PM
this may be fixed when we intergrate the new ftp-parse code. See: http://bugzilla.mozilla.org/show_bug.cgi?id=212448
Resolving this wfm, since i don't see this bug anymore for a while now. If anyone disagrees, feel free to reopen (and maybe give a example where the bug occours, since all testcases here now work for me).
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
This bug should be reopened. I saw the wrong year using ftp.mozilla.org with Firefox 1.0 final and Mozilla 1.8a5 on Win 2000 and Linux. This is shown not very often, but about every tenth time I connect to a ftp server.
*sigh*, this got fixed after alpha5 in a newer bug. reopening to mark as duplicate.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
*** This bug has been marked as a duplicate of 236365 ***
Status: REOPENED → RESOLVED
Closed: 22 years ago21 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.