wget -N timestamp

Fórumok

Sziasztok,

wget használatakor újra és újra letöltök mindent, de ez kezd egyre időigényesebb lenni. Bevezettem a -N kapcsolót (ami a --timestamping rövidítése). Timestamp alatt itt a last modified date-et (pontosabban timestampet értik). Viszont arról nem szól a fáma (sem itt, sem itt, sem bármelyik linkeken), hogy mi a helyzet, ha a szerverek különböző időzónában leledznek. Ezzel kapcsolatban van valakinek tapasztalata? Titokban abban bízok, hogy ez egy unix timestamp.

Előre is köszi!

Hozzászólások

HTTP applications have historically allowed three different formats for the representation of date/time stamps:

Sun, 06 Nov 1994 08:49:37 GMT ; RFC 822, updated by RFC 1123
Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036
Sun Nov 6 08:49:37 1994 ; ANSI C's asctime() format

The first format is preferred as an Internet standard and represents a fixed-length subset of that defined by RFC 1123 [8] (an update to RFC 822 [9]). The second format is in common use, but is based on the obsolete RFC 850 [12] date format and lacks a four-digit year. HTTP/1.1 clients and servers that parse the date value MUST accept all three formats (for compatibility with HTTP/1.0), though they MUST only generate the RFC 1123 format for representing HTTP-date values in header fields. See section 19.3 for further information.

RTFRFC :)

--
NetBSD - Simplicity is prerequisite for reliability