Jochen Hayek <[EMAIL PROTECTED]> writes:

> But as FTP directory listings do not include the time zone, the
> files live in, (I think) wget just assumes the local time zone to be
> identical to the remote one.  Am I right with this?
>
> As long as this concept is being kept to entirely,
> this is probably the best, that can be done.

You're right.  Wget assumes local time zone and sets the local time
stamp.  Even if the time stamp is not correct (because of time zone
difference), it will be *the same* incorrect time stamp each time
around and mirroring will work.

> But it leads to a situation, that wget creates files with time
> stamps much older, than the files actually are.

Or newer -- yes.  Until MLST/MDTM are supported, there is no good cure
for this (that I can think of).

> I wouldn't mind making wget believe (maybe through setting the
> environment variable "TZ") it actually "lives" in New-England,
> although it "lives" here in Europe.

That might work.  Wget uses the library functions for time
conversions, and they should respect TZ.

Reply via email to