Hubert Tarasiuk
37b58e3976
Metalink support.
...
* bootstrap.conf: Add crypto/sha256
* configure.ac: Look for libmetalink and GPGME
* doc/wget.texi: Add --input-metalink and --metalink-over-http
options description.
* po/POTFILES.in: Add metalink.c
* src/Makefile.am: Add new translation unit (metalink.c)
* src/http.c (http_stat): Add metalink field.
(free_stat): Free metalink field.
(find_key_value): Find value of given key in header string.
(has_key): Check if token exists in header string.
(find_key_values): Find all key=value pairs in header string.
(metalink_from_http): Obtain Metalink metadata from HTTP response.
(gethttp): Call metalink_from_http if requested.
(http_loop): Request Metalink metadata from HTTP response if should be.
Fall back to regular download if no Metalink metadata found.
* src/init.c: Add --input-metalink and --metalink-over-http options
* src/main.c (option_data): Handle --input-metalink and
--metalink-over-http cmd arguments.
(print_help): Print --input-metalink option description.
(main): Retrieve files from Metalink file
* src/metalink.c (retrieve_from_metalink): Download files described by
metalink.
(metalink_res_cmp): Comparator for resources priority-sorting.
* src/metalink.h: Create header for metalink.c
(RES_TYPE_SUPPORTED): Define supported resources media.
(DEFAULT_PRI): Default mirror priority for Metalink over HTTP.
(VALID_PRI_RANGE): Valid priority range.
* src/options.h (options): Add input_metalink option and metalink_over_http
options.
* src/utils.c (hex_to_string): Convert binary data to ASCII-hex.
* src/utils.h (hex_to_string): Add prototype.
* src/wget.h: Add metalink-related error enums
Add METALINK_METADATA flag for document type.
2015-07-20 15:30:39 +02:00
Hubert Tarasiuk
885eaaa214
Include --if-modified-since option in user manual.
...
* doc/wget.texi: Add --if-modified-since section.
2015-05-22 11:08:30 +02:00
Rohan Prinja
8d4bb928b9
Convert wget.texi to UTF-8
...
* doc/wget.texi: convert to UTF-8 by adding @documentencoding
* doc/Makefile.am: Pass argument --utf8 to pod2man.
2015-03-17 09:52:23 +01:00
Ander Juaristi Alamos
d0f406a13f
* doc/wget.texi: The default is GnuTLS, not OpenSSL.
2015-03-16 22:46:08 +01:00
Darshit Shah
524f26a200
Docs: --post-file is binary data
...
Wget considers the file mentioned in the --post-file argument as a
binary file and does not strip any control characters. The lack of this
information in the documentation can cause a lot of headaches debugging
for a simple issue
2015-03-13 23:51:59 +05:30
Giuseppe Scrivano
16f1fb1d1f
maint: update copyright year ranges to include 2015
2015-03-09 16:32:01 +01:00
Darshit Shah
8705e27e20
progress bar: Allow display on stderr alongwith -o
...
This commit causes the --show-progress option to print the progress bar
to stderr even when a logfile was explicitly provided on the command
line. Such a combination allows a user to log the output of Wget while
simultaneously keeping track of the download status.
2015-01-20 20:16:20 +01:00
Tim Ruehsen
b147fb1638
doc/wget.texi: Add 'https_only' in 'wgetrc commands' section
...
Reported-By: Eli Zaretskii <eliz@gnu.org>
2014-12-20 17:42:00 +01:00
Tim Rühsen
f0de37cc27
wget.texi: Clarify wgetrc command syntax
...
Reported-by: Eli Zaretskii <eliz@gnu.org>
2014-12-19 16:56:35 +01:00
Tim Rühsen
f37dd1aa2d
wget.texi: Document --random-file and --egd-file as OpenSSL only
2014-12-17 12:39:00 +01:00
Tim Rühsen
e4a8fe84e2
Added --crl-file to load a Certificate Revocation List (CRL) file
...
Reported-by: Noël Köthe <noel@debian.org>
2014-11-11 15:06:51 +01:00
Darshit Shah
18b0979357
CVE-2014-4877: Arbitrary Symlink Access
...
Wget was susceptible to a symlink attack which could create arbitrary
files, directories or symbolic links and set their permissions when
retrieving a directory recursively through FTP. This commit changes the
default settings in Wget such that Wget no longer creates local symbolic
links, but rather traverses them and retrieves the pointed-to file in
such a retrieval.
The old behaviour can be attained by passing the --retr-symlinks=no
option to the Wget invokation command.
2014-10-27 09:18:13 +01:00
Tim Ruehsen
3e3073ca7b
add TLSv1_1 and TLSv1_2 to --secure-protocol
2014-10-23 21:16:37 +02:00
Tim Ruehsen
6fc11e46ec
do not use SSLv3 except explicitely requested
2014-10-19 21:57:06 +02:00
Giuseppe Scrivano
3858500de4
Fix some texinfo warnings
2014-08-03 22:52:46 +02:00
Giuseppe Scrivano
a22cd7394b
Remove trailing whitespaces
2014-06-12 18:49:14 +02:00
Darshit Shah
4eeabffee6
More progress bar aesthetic changes
...
This commit introduces two new changes to how the progress bar looks:
1. Support the --progress=bar:noscroll option which will prevent the filename
from scrolling in the progress bar
2. Print human readable value for the amount already downloaded for any file
2014-05-30 13:28:02 +05:30
Darshit Shah
8c2fd06ba8
Add --show-progress to force display progress bar
...
This is a relatively large commit that implements two major features:
1. Implement --show-progress switch to force the display of the progress bar in
any verbosity level
2. Edit the implementation of the progress bar so that the filename is displayed
in the same line.
2014-05-01 01:07:43 +02:00
Yousong Zhou
dfa1f4e064
Make wget capable of starting downloads from a specified position.
...
This patch adds an option `--start-pos' for specifying starting position
of a HTTP or FTP download.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2014-03-21 11:21:00 +01:00
Giuseppe Scrivano
351d328c07
doc: use GFDL 1.3
2013-12-29 11:41:22 +01:00
Tim Ruehsen
1dec2028d0
add/explain quoting of wildcard patterns in wget.texi
2013-10-06 23:52:22 +02:00
Tim Ruehsen
e505664ef3
added PFS to --secure-protocol
2013-09-07 13:22:15 +02:00
Tim Ruehsen
42c78fdd71
added option --https-only
2013-08-22 20:05:41 +02:00
Hrvoje Niksic
a7df7ecc2f
Fix misspelling.
2013-08-13 20:52:07 +02:00
Giuseppe Scrivano
44ba49b31f
doc: document --backups
2013-07-13 13:36:55 +02:00
Tomas Hozza
c78caecbb4
Document missing options and fix --preserve-permissions
...
Added documentation for --regex-type and --preserve-permissions
options.
Fixed --preserve-permissions to work properly also if downloading a
single file from FTP.
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2013-07-11 22:01:43 +02:00
Darshit Shah
90896e3314
Follow RFC 2616 and httpbis specifications when handling redirects
2013-06-16 22:31:16 +02:00
Darshit Shah
ccd369d5f2
Fix typo in documentation.
2013-05-12 19:57:32 +02:00
Giuseppe Scrivano
8dc52c6eaa
doc: add documentation for --accept-regex and --reject-regex
2013-04-28 22:41:24 +02:00
Giuseppe Scrivano
0e6f1c2dac
doc: add documentation for mega dot style.
2013-04-14 14:43:16 +02:00
Darshit Shah
6c30653a1a
Add a generic --method command to set a method in HTTP Requests.
...
Add supplementary --body-data and --body-file commands to send BODY Data.
Signed-off-by: Darshit Shah <darnir@gmail.com>
2013-04-14 12:57:58 +02:00
Stefano Lattarini
9e8d899a35
docs: fix errors and warnings with Texinfo 5
...
Or rather, with the development version 4.13.90, which will eventually
become Texinfo 5.0.
* doc/wget.texi: Use '@item' instead of '@itemx' in several places,
as Texinfo 5 refuses to process an '@itemx' that is not preceded by an
'@item'.
Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2012-11-08 20:56:11 +01:00
Tim Ruehsen
798f554773
remove -nv from --report-speed in doc/wget.texi
2012-09-02 14:06:01 +02:00
mancha
3db55372c7
doc: add ENVIRONMENT section to manpage and minor adjustments.
...
Signed-off-by: mancha <mancha@mac.hush.com>
2012-08-04 10:43:35 +02:00
Giuseppe Scrivano
4661f141bb
Fix the last commit.
2012-06-09 13:17:27 +02:00
Giuseppe Scrivano
29861463de
doc: document new options.
2012-06-09 13:14:51 +02:00
Giuseppe Scrivano
e24e817259
doc: Document --accept-regex and --reject-regex.
2012-05-13 17:38:00 +02:00
Henrik Holst
fce4e757a2
Add support for --content-on-error.
2011-10-06 13:25:17 +02:00
Karl Berry
2223ac8ce3
doc: Make dir entry consistent with others.
2011-09-27 17:14:43 +02:00
Giuseppe Scrivano
1f06428483
Introduce `show_all_dns_entries'.
2011-08-06 12:38:42 +02:00
Noèl Köthe
f9d46e0f9c
doc: fix typo.
2011-07-28 13:16:32 +02:00
Giuseppe Scrivano
8c69d9f4a9
doc: Make clearer the default recursion level.
2011-07-05 10:28:00 +02:00
Giuseppe Scrivano
cb30bc9a94
doc: Do not cite the current maintainer.
2011-03-21 23:22:31 +01:00
Giuseppe Scrivano
2f6aa1d741
mass change: update copyright years.
2011-01-01 13:19:37 +01:00
Giuseppe Scrivano
7f8d5d6f87
doc: remove wrong description of -k -K used together with -E.
2010-12-22 14:08:17 +01:00
Reza Snowdon
8c7afaf3bb
Implement --config.
2010-10-29 00:20:31 +02:00
Giuseppe Scrivano
b12160ea02
Make --waitretry documentation clearer.
2010-10-26 02:00:53 +02:00
Merinov Nikolay
b5c9573ad6
Add --unlink.
2010-09-29 13:34:09 +02:00
Giuseppe Scrivano
6ddcb6e65e
doc: Remove superfluous dot.
2010-09-13 23:44:51 +02:00
Giuseppe Scrivano
3e25a9817f
Introduce --trust-server-names. Close CVE-2010-2252.
2010-07-28 21:22:22 +02:00