1###
2### Sample Wget initialization file .wgetrc
3###
4
5## You can use this file to change the default behaviour of wget or to
6## avoid having to type many many command-line options. This file does
7## not contain a comprehensive list of commands -- look at the manual
8## to find out what you can put into this file. You can find this here:
9##   $ info wget.info 'Startup File'
10## Or online here:
11##   https://www.gnu.org/software/wget/manual/wget.html#Startup-File
12##
13## Wget initialization file can reside in /usr/local/etc/wgetrc
14## (global, for all users) or $HOME/.wgetrc (for a single user).
15##
16## To use the settings in this file, you will have to uncomment them,
17## as well as change them, in most cases, as the values on the
18## commented-out lines are the default values (e.g. "off").
19##
20## Command are case-, underscore- and minus-insensitive.
21## For example ftp_proxy, ftp-proxy and ftpproxy are the same.
22
23
24##
25## Global settings (useful for setting up in /usr/local/etc/wgetrc).
26## Think well before you change them, since they may reduce wget's
27## functionality, and make it behave contrary to the documentation:
28##
29
30# You can set retrieve quota for beginners by specifying a value
31# optionally followed by 'K' (kilobytes) or 'M' (megabytes).  The
32# default quota is unlimited.
33#quota = inf
34
35# You can lower (or raise) the default number of retries when
36# downloading a file (default is 20).
37#tries = 20
38
39# Lowering the maximum depth of the recursive retrieval is handy to
40# prevent newbies from going too "deep" when they unwittingly start
41# the recursive retrieval.  The default is 5.
42#reclevel = 5
43
44# By default Wget uses "passive FTP" transfer where the client
45# initiates the data connection to the server rather than the other
46# way around.  That is required on systems behind NAT where the client
47# computer cannot be easily reached from the Internet.  However, some
48# firewalls software explicitly supports active FTP and in fact has
49# problems supporting passive transfer.  If you are in such
50# environment, use "passive_ftp = off" to revert to active FTP.
51#passive_ftp = off
52
53# The "wait" command below makes Wget wait between every connection.
54# If, instead, you want Wget to wait only between retries of failed
55# downloads, set waitretry to maximum number of seconds to wait (Wget
56# will use "linear backoff", waiting 1 second after the first failure
57# on a file, 2 seconds after the second failure, etc. up to this max).
58#waitretry = 10
59
60
61##
62## Local settings (for a user to set in his $HOME/.wgetrc).  It is
63## *highly* undesirable to put these settings in the global file, since
64## they are potentially dangerous to "normal" users.
65##
66## Even when setting up your own ~/.wgetrc, you should know what you
67## are doing before doing so.
68##
69
70# Set this to on to use timestamping by default:
71#timestamping = off
72
73# It is a good idea to make Wget send your email address in a `From:'
74# header with your request (so that server administrators can contact
75# you in case of errors).  Wget does *not* send `From:' by default.
76#header = From: Your Name <username@@site.domain>
77
78# You can set up other headers, like Accept-Language.  Accept-Language
79# is *not* sent by default.
80#header = Accept-Language: en
81
82# You can set the default proxies for Wget to use for http, https, and ftp.
83# They will override the value in the environment.
84#https_proxy = http://proxy.yoyodyne.com:18023/
85#http_proxy = http://proxy.yoyodyne.com:18023/
86#ftp_proxy = http://proxy.yoyodyne.com:18023/
87
88# If you do not want to use proxy at all, set this to off.
89#use_proxy = on
90
91# You can customize the retrieval outlook.  Valid options are default,
92# binary, mega and micro.
93#dot_style = default
94
95# Setting this to off makes Wget not download /robots.txt.  Be sure to
96# know *exactly* what /robots.txt is and how it is used before changing
97# the default!
98#robots = on
99
100# It can be useful to make Wget wait between connections.  Set this to
101# the number of seconds you want Wget to wait.
102#wait = 0
103
104# You can force creating directory structure, even if a single is being
105# retrieved, by setting this to on.
106#dirstruct = off
107
108# You can turn on recursive retrieving by default (don't do this if
109# you are not sure you know what it means) by setting this to on.
110#recursive = off
111
112# To always back up file X as X.orig before converting its links (due
113# to -k / --convert-links / convert_links = on having been specified),
114# set this variable to on:
115#backup_converted = off
116
117# To have Wget follow FTP links from HTML files by default, set this
118# to on:
119#follow_ftp = off
120
121# To try ipv6 addresses first:
122#prefer-family = IPv6
123
124# Set default IRI support state
125#iri = off
126
127# Force the default system encoding
128#localencoding = UTF-8
129
130# Force the default remote server encoding
131#remoteencoding = UTF-8
132
133# Turn on to prevent following non-HTTPS links when in recursive mode
134#httpsonly = off
135
136# Tune HTTPS security (auto, SSLv2, SSLv3, TLSv1, PFS)
137#secureprotocol = auto
138