linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [OT] Date info in listings from ftp.kernel.org
@ 2004-01-09  1:36 J.A. Magallon
  2004-01-09 13:27 ` Nick Holloway
  0 siblings, 1 reply; 2+ messages in thread
From: J.A. Magallon @ 2004-01-09  1:36 UTC (permalink / raw)
  To: Lista Linux-Kernel

Hi all...

Is this a bug in ftp servers ?

-rw-rw-r--   1 korg     korg       867164 Dec 31 05:46 patch-2.6.1-rc1.gz
-rw-rw-r--   1 korg     korg          248 Dec 31 05:46 patch-2.6.1-rc1.gz.sign
-rw-rw-r--   1 korg     korg          248 Dec 31 05:46 patch-2.6.1-rc1.sign
-rw-rw-r--   1 korg     korg       749822 Jan  6 06:51 patch-2.6.1-rc2.bz2
-rw-rw-r--   1 korg     korg          248 Jan  6 06:51 patch-2.6.1-rc2.bz2.sign
-rw-rw-r--   1 korg     korg       896088 Jan  6 06:51 patch-2.6.1-rc2.gz

Clients relay on year being present to set it, else it is set to 2004.
So they suppose rc1 was released on Dec 31 2004.

Some way to get a listing with full year info ?

TIA

-- 
J.A. Magallon <jamagallon()able!es>     \                 Software is like sex:
werewolf!able!es                         \           It's better when it's free
Mandrake Linux release 10.0 (Cooker) for i586
Linux 2.6.1-rc1-jam2 (gcc 3.3.2 (Mandrake Linux 10.0 3.3.2-3mdk))

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [OT] Date info in listings from ftp.kernel.org
  2004-01-09  1:36 [OT] Date info in listings from ftp.kernel.org J.A. Magallon
@ 2004-01-09 13:27 ` Nick Holloway
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Holloway @ 2004-01-09 13:27 UTC (permalink / raw)
  To: linux-kernel

jamagallon@able.es (J.A. Magallon) writes:
> Is this a bug in ftp servers ?
> -rw-rw-r--   1 korg  korg  867164 Dec 31 05:46 patch-2.6.1-rc1.gz
> -rw-rw-r--   1 korg  korg     248 Dec 31 05:46 patch-2.6.1-rc1.gz.sign
> -rw-rw-r--   1 korg  korg     248 Dec 31 05:46 patch-2.6.1-rc1.sign
> -rw-rw-r--   1 korg  korg  749822 Jan  6 06:51 patch-2.6.1-rc2.bz2
> -rw-rw-r--   1 korg  korg     248 Jan  6 06:51 patch-2.6.1-rc2.bz2.sign
> -rw-rw-r--   1 korg  korg  896088 Jan  6 06:51 patch-2.6.1-rc2.gz
> 
> Clients relay on year being present to set it, else it is set to 2004.
> So they suppose rc1 was released on Dec 31 2004.

Unix FTP servers present the time information as would be generated by
"ls".  The following is taken from "info ls":

    For files with a time more than six months old or in the future,
    the timestamp contains the year instead of the time of day.

The Microsoft FTP server acts as you suggest, in that it displays the
time if the year is the same.

As far as clients having problems, the good old "mirror" is able to deal
with this fine.  I suspect others are also able to deal with this.

I've even been as gross as to start up Internet Explorer, and enable
"Folder Mode for FTP sites", and that gets the year correct.

> Some way to get a listing with full year info ?

Not for a while directory, but you can for a particular file:

    ftp> modtime README-2.6
    README-2.6      12/18/2003 15:48:24 GMT

-- 
 `O O'  | Nick.Holloway@pyrites.org.uk
// ^ \\ | http://www.pyrites.org.uk/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-09 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-09  1:36 [OT] Date info in listings from ftp.kernel.org J.A. Magallon
2004-01-09 13:27 ` Nick Holloway

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).