Normally the defaults used by wget
are good enough for most users, however, you may need to tweak things from time to time to get it to work the way you want it to.
Here is a partial list of some of the wget
options:
wget option |
Explanation |
---|---|
|
Output messages to a |
|
Try number times before giving up on the connection. |
|
Continue to download a partially downloaded file from a previous |
|
Display the headers sent by the server. |
|
The quota, or total amount of bytes that will be downloaded. Number can be in bytes, kilobytes (k), or megabytes (m). Set to 0 or inf for no quota. |
|
This specifies the maximum recursion level. The default is 5. |
|
This is good for when trying to create a mirror of a site. It is equivalent to using the |
Another thing you may try is to turn on debugging with the -d
option. Note that this will only work if your version of wget
was compiled with debug support. Let's see what happens when I try it on my system:
I wasn't sure if debugging was turned on or not, now I know. This output might not be very useful unless you are a developer, however, if you ever need to send in a bug report on wget
they are going to ask for the debug output.
As you can see, wget
is a very powerful program with several options.