Download Options
================
+`--bind-address=ADDRESS'
+ When making client TCP/IP connections, `bind()' to ADDRESS on the
+ local machine. ADDRESS may be specified as a hostname or IP
+ address. This option can be useful if your machine is bound to
+ multiple IPs.
+
`-t NUMBER'
`--tries=NUMBER'
Set number of retries to NUMBER. Specify 0 or `inf' for infinite
If a file of type `text/html' is downloaded and the URL does not
end with the regexp "\.[Hh][Tt][Mm][Ll]?", this option will cause
the suffix `.html' to be appended to the local filename. This is
- useful, for instance, when you're you're mirroring a remote site
- that uses `.asp' pages, but you want the mirrored pages to be
- viewable on your stock Apache server. Another good use for this
- is when you're downloading the output of CGIs. A URL like
+ useful, for instance, when you're mirroring a remote site that uses
+ `.asp' pages, but you want the mirrored pages to be viewable on
+ your stock Apache server. Another good use for this is when you're
+ downloading the output of CGIs. A URL like
`http://site.com/article.cgi?25' will be saved as
`article.cgi?25.html'.
this option is discouraged, unless you really know what you are
doing.
- *NOTE* that Netscape Communications Corp. has claimed that false
- transmissions of `Mozilla' as the `User-Agent' are a copyright
- infringement, which will be prosecuted. *DO NOT* misrepresent
- Wget as Mozilla.
-
\1f
File: wget.info, Node: FTP Options, Next: Recursive Retrieval Options, Prev: HTTP Options, Up: Invoking
`--delete-after'
This option tells Wget to delete every single file it downloads,
*after* having done so. It is useful for pre-fetching popular
- pages through proxy, e.g.:
+ pages through a proxy, e.g.:
wget -r -nd --delete-after http://whatever.com/~popular/page/
- The `-r' option is to retrieve recursively, and `-nd' not to
+ The `-r' option is to retrieve recursively, and `-nd' to not
create directories.
+ Note that `--delete-after' deletes files on the local machine. It
+ does not issue the `DELE' command to remote FTP sites, for
+ instance. Also note that when `--delete-after' is specified,
+ `--convert-links' is ignored, so `.orig' files are simply not
+ created in the first place.
+
`-k'
`--convert-links'
Convert the non-relative links to relative ones locally. Only the
displays properly locally, this author likes to use a few options
in addition to `-p':
- wget -H -k -K -nh -p http://SITE/DOCUMENT
+ wget -E -H -k -K -nh -p http://SITE/DOCUMENT
To finish off this topic, it's worth knowing that wget's idea of an
external document link is any URL specified in an `<A>' tag, an