1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Added a note about my newly-implemented interaction between -K and -N.

This commit is contained in:
dan 2000-03-01 23:06:10 -08:00
parent 4331c39c9a
commit fce9edf954
5 changed files with 68 additions and 52 deletions

View File

@ -1,3 +1,8 @@
2000-03-01 Dan Harkless <dan-wget@dilvish.speed.net>
* wget.texi (HTTP Time-Stamping Internals): Added a note about my
newly-implemented interaction between -K and -N.
2000-02-29 Dan Harkless <dan-wget@dilvish.speed.net> 2000-02-29 Dan Harkless <dan-wget@dilvish.speed.net>
* wget.texi: Updated version to 1.5.3+dev, updated copyrights to * wget.texi: Updated version to 1.5.3+dev, updated copyrights to

View File

@ -26,8 +26,8 @@ notice identical to this one.
 
Indirect: Indirect:
wget.info-1: 961 wget.info-1: 961
wget.info-2: 50948 wget.info-2: 50395
wget.info-3: 88756 wget.info-3: 89018
 
Tag Table: Tag Table:
(Indirect) (Indirect)
@ -56,33 +56,33 @@ Node: FTP Links42768
Node: Time-Stamping43638 Node: Time-Stamping43638
Node: Time-Stamping Usage45275 Node: Time-Stamping Usage45275
Node: HTTP Time-Stamping Internals46844 Node: HTTP Time-Stamping Internals46844
Node: FTP Time-Stamping Internals48052 Node: FTP Time-Stamping Internals48314
Node: Startup File49260 Node: Startup File49522
Node: Wgetrc Location50133 Node: Wgetrc Location50395
Node: Wgetrc Syntax50948 Node: Wgetrc Syntax51210
Node: Wgetrc Commands51663 Node: Wgetrc Commands51925
Node: Sample Wgetrc58501 Node: Sample Wgetrc58763
Node: Examples62793 Node: Examples63055
Node: Simple Usage63400 Node: Simple Usage63662
Node: Advanced Usage65794 Node: Advanced Usage66056
Node: Guru Usage68545 Node: Guru Usage68807
Node: Various70207 Node: Various70469
Node: Proxies70731 Node: Proxies70993
Node: Distribution73496 Node: Distribution73758
Node: Mailing List73846 Node: Mailing List74108
Node: Reporting Bugs74545 Node: Reporting Bugs74807
Node: Portability76330 Node: Portability76592
Node: Signals77705 Node: Signals77967
Node: Appendices78359 Node: Appendices78621
Node: Robots78774 Node: Robots79036
Node: Introduction to RES79921 Node: Introduction to RES80183
Node: RES Format81814 Node: RES Format82076
Node: User-Agent Field82918 Node: User-Agent Field83180
Node: Disallow Field83682 Node: Disallow Field83944
Node: Norobots Examples84293 Node: Norobots Examples84555
Node: Security Considerations85247 Node: Security Considerations85509
Node: Contributors86243 Node: Contributors86505
Node: Copying88756 Node: Copying89018
Node: Concept Index107919 Node: Concept Index108181
 
End Tag Table End Tag Table

View File

@ -1203,6 +1203,11 @@ remote file.
modified more recently (which makes it "newer"). If the remote file is modified more recently (which makes it "newer"). If the remote file is
newer, it will be downloaded; if it is older, Wget will give up.(1) newer, it will be downloaded; if it is older, Wget will give up.(1)
When `--backup-converted' (`-K') is specified in conjunction with
`-N', server file `X' is compared to local file `X.orig', if extant,
rather than being compared to local file `X', which will always differ
if it's been converted by `--convert-links' (`-k').
Arguably, HTTP time-stamping should be implemented using the Arguably, HTTP time-stamping should be implemented using the
`If-Modified-Since' request. `If-Modified-Since' request.
@ -1265,25 +1270,3 @@ commands.
* Wgetrc Commands:: List of available commands. * Wgetrc Commands:: List of available commands.
* Sample Wgetrc:: A wgetrc example. * Sample Wgetrc:: A wgetrc example.

File: wget.info, Node: Wgetrc Location, Next: Wgetrc Syntax, Prev: Startup File, Up: Startup File
Wgetrc Location
===============
When initializing, Wget will look for a "global" startup file,
`/usr/local/etc/wgetrc' by default (or some prefix other than
`/usr/local', if Wget was not installed there) and read commands from
there, if it exists.
Then it will look for the user's file. If the environmental variable
`WGETRC' is set, Wget will try to load that file. Failing that, no
further attempts will be made.
If `WGETRC' is not set, Wget will try to load `$HOME/.wgetrc'.
The fact that user's settings are loaded after the system-wide ones
means that in case of collision user's wgetrc *overrides* the
system-wide wgetrc (in `/usr/local/etc/wgetrc' by default). Fascist
admins, away!

View File

@ -23,6 +23,28 @@ are included exactly as in the original, and provided that the entire
resulting derived work is distributed under the terms of a permission resulting derived work is distributed under the terms of a permission
notice identical to this one. notice identical to this one.

File: wget.info, Node: Wgetrc Location, Next: Wgetrc Syntax, Prev: Startup File, Up: Startup File
Wgetrc Location
===============
When initializing, Wget will look for a "global" startup file,
`/usr/local/etc/wgetrc' by default (or some prefix other than
`/usr/local', if Wget was not installed there) and read commands from
there, if it exists.
Then it will look for the user's file. If the environmental variable
`WGETRC' is set, Wget will try to load that file. Failing that, no
further attempts will be made.
If `WGETRC' is not set, Wget will try to load `$HOME/.wgetrc'.
The fact that user's settings are loaded after the system-wide ones
means that in case of collision user's wgetrc *overrides* the
system-wide wgetrc (in `/usr/local/etc/wgetrc' by default). Fascist
admins, away!
 
File: wget.info, Node: Wgetrc Syntax, Next: Wgetrc Commands, Prev: Wgetrc Location, Up: Startup File File: wget.info, Node: Wgetrc Syntax, Next: Wgetrc Commands, Prev: Wgetrc Location, Up: Startup File

View File

@ -1382,6 +1382,12 @@ up.@footnote{As an additional check, Wget will look at the
same, the remote file will be downloaded no matter what the time-stamp same, the remote file will be downloaded no matter what the time-stamp
says.} says.}
When @samp{--backup-converted} (@samp{-K}) is specified in conjunction
with @samp{-N}, server file @samp{@var{X}} is compared to local file
@samp{@var{X}.orig}, if extant, rather than being compared to local file
@samp{@var{X}}, which will always differ if it's been converted by
@samp{--convert-links} (@samp{-k}).
Arguably, @sc{http} time-stamping should be implemented using the Arguably, @sc{http} time-stamping should be implemented using the
@code{If-Modified-Since} request. @code{If-Modified-Since} request.