1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
Go to file
hniksic d70101ea4e [svn] Commit various HTTP fixes.
Published in <sxsy9slhu7g.fsf@florida.arsdigita.de>.

* http.c (gethttp): Return RETRUNNEEDED when the retrieval is
unneeded because the file is already there and fully downloaded,
and -c is specified.
(http_loop): Handle RETRUNNEEDED.

* wget.h (uerr_t): New value RETRUNNEEDED.

* http.c (http_loop): Set no_truncate for files that both exist
and are non-empty.
(gethttp): Consider the download finished when restval >= contlen,
not only when restval==contlen.
(gethttp): Handle redirection before giving up due to -c.
(gethttp): Clarify error message which explains that -c will not
truncate the file.
(gethttp): When returning CONTNOTSUPPORTED, don't forget to free
the stuff that needs freeing and release the socket.

* main.c (print_help): Wget booleans accept "off", not "no".
2001-04-28 09:22:20 -07:00
ChangeLog-branches [svn] Here're the changes we agreed to on the wget mailing list regarding the 2001-01-06 01:26:02 -08:00
doc [svn] Document cookie-related options. 2001-04-26 23:08:23 -07:00
po [svn] Added two missing newlines that prevented GNU msgfmt to process the file. 2001-04-27 22:54:45 -07:00
src [svn] Commit various HTTP fixes. 2001-04-28 09:22:20 -07:00
util [svn] * {.,doc,src,util,windows}/Makefile.in: Moved top_builddir out of "User 2001-03-27 03:23:59 -08:00
windows [svn] Committed Csaba Raduly's change to bring Makefile.watcom up-to-date. 2001-04-28 07:14:24 -07:00
aclocal.m4 [svn] Don't insist on strict ANSI mode of the compiler. 2001-04-05 20:11:24 -07:00
AUTHORS [svn] Committed C. Frankel's SSL patch. 2000-12-05 15:09:41 -08:00
ChangeLog [svn] Committed Csaba Raduly's change to bring Makefile.watcom up-to-date. 2001-04-28 07:14:24 -07:00
ChangeLog.README [svn] ChangeLog.README: Renamed from README.branches and added a note that Wget has 2001-03-01 17:46:23 -08:00
config.guess [svn] * config.guess: Hadn't been updated since 1996 -- didn't work for 2001-03-16 22:50:14 -08:00
config.sub [svn] * config.guess: Hadn't been updated since 1996 -- didn't work for 2001-03-16 22:50:14 -08:00
configure.bat [svn] Initial revision 1999-12-01 23:42:23 -08:00
configure.in [svn] Commit various hash table changes: 2001-04-12 17:34:24 -07:00
COPYING [svn] Initial revision 1999-12-01 23:42:23 -08:00
INSTALL [svn] INSTALL: Updated to reflect --with-ssl's new optional parameter. 2001-03-27 00:13:19 -08:00
install-sh [svn] Initial revision 1999-12-01 23:42:23 -08:00
ltconfig [svn] Linking with OpenSSL previously required the user to set up all the 2001-03-17 06:21:19 -08:00
ltmain.sh [svn] Linking with OpenSSL previously required the user to set up all the 2001-03-17 06:21:19 -08:00
MACHINES [svn] MACHINES: Added rs6000-ibm-aix4.3.3.0. 2001-03-22 00:28:01 -08:00
MAILING-LIST [svn] Update list address: sunsite.auc.dk -> sunsite.dk 2001-04-27 00:55:59 -07:00
Makefile.cvs [svn] Removed all auto-generated files. 2000-12-09 18:18:23 -08:00
Makefile.in [svn] * configure.in: Noticed in libtool documentation that we should have 2001-03-27 03:42:00 -08:00
mkinstalldirs [svn] Initial revision 1999-12-01 23:42:23 -08:00
NEWS [svn] Implement tilde-expansion in file name arguments of 2001-04-08 16:59:14 -07:00
PATCHES [svn] Update list address: sunsite.auc.dk -> sunsite.dk 2001-04-27 00:55:59 -07:00
README [svn] Update list address: sunsite.auc.dk -> sunsite.dk 2001-04-27 00:55:59 -07:00
README.cvs [svn] README.cvs: Falsely claimed you only needed GNU autoconf to build from the CVS 2001-01-06 02:15:58 -08:00
stamp-h.in [svn] Initial revision 1999-12-01 23:42:23 -08:00
TODO [svn] Added support for cookies. 2001-04-08 15:25:24 -07:00

                                                          -*- text -*-
GNU Wget
========                          Home: http://sunsite.dk/wget/

GNU Wget is a free network utility to retrieve files from the World
Wide Web using HTTP and FTP, the two most widely used Internet
protocols.  It works non-interactively, thus enabling work in the
background, after having logged off.

The recursive retrieval of HTML pages, as well as FTP sites is
supported -- you can use Wget to make mirrors of archives and home
pages, or traverse the web like a WWW robot (Wget understands
/robots.txt).

Wget works exceedingly well on slow or unstable connections, keeping
getting the document until it is fully retrieved.  Re-getting files
from where it left off works on servers (both HTTP and FTP) that
support it.  Matching of wildcards and recursive mirroring of
directories are available when retrieving via FTP.  Both HTTP and FTP
retrievals can be time-stamped, thus Wget can see if the remote file
has changed since last retrieval and automatically retrieve the new
version if it has.

Wget supports proxy servers, which can lighten the network load, speed
up retrieval and provide access behind firewalls.  If you are behind a
firewall that requires the use of a socks style gateway, you can get
the socks library and compile wget with support for socks.

Most of the features are configurable, either through command-line
options, or via initialization file .wgetrc.  Wget allows you to
install a global startup file (/usr/local/etc/wgetrc by default) for
site settings.

Wget works under almost all modern Unix variants and, unlike many
other similar utilities, is written entirely in C, thus requiring no
additional software (like perl).  As Wget uses the GNU Autoconf, it is
easily built on and ported to other Unix's. Installation procedure is
described in the INSTALL file.

Like all GNU utilities, the latest version of Wget can be found at the
master GNU archive site ftp.gnu.org, and its mirrors.  For example,
Wget 1.6 is at:

    <URL:ftp://ftp.gnu.org/pub/gnu/wget/wget-1.6.tar.gz>.

Please report bugs in Wget to <bug-wget@gnu.org>.

Wget has a mailing list at <wget@sunsite.dk>.  To subscribe, mail
to <wget-subscribe@sunsite.dk>.  Wget's home page is at
<URL:http://sunsite.dk/wget/>.

Wget is free in all senses -- it is freely redistributable, and no
payment is required.  If you still wish to donate money to the
developers or fund the development for a specific purpose, please send
mail to the development mailing list at <wget@sunsite.dk>.


MAINTAINERS: Dan Harkless <wget@harkless.org>
             Hrvoje Niksic <hniksic@arsdigita.com>

Wget was originally written by Hrvoje Niksic.


Copyright (C) 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.