aboutsummaryrefslogtreecommitdiff
path: root/wget.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Some adjustments, mostly from David McCullough <davidm@lineo.com> toandersen2001-07-191-2/+2
| | | | | | | | | | make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik git-svn-id: svn://busybox.net/trunk/busybox@3130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The -P prefix should only be prepended to filenames which are not explicitlykraai2001-07-191-4/+4
| | | | | | | specified. git-svn-id: svn://busybox.net/trunk/busybox@3129 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The directory name should only be prepended if one was specified.kraai2001-07-191-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3127 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add wget -P support, finishing off bug #1176andersen2001-06-211-3/+7
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2874 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add xgethostbyname and herror_msg* functions.kraai2001-05-161-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Suggestion from Larry: no format string, use fputs instead.andersen2001-05-151-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2650 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Adam Heath <doogie@debian.org> to add arbitrary header supportandersen2001-05-151-3/+38
| | | | | | | to wget, so it can now do funky interactive things with cgi scripts. git-svn-id: svn://busybox.net/trunk/busybox@2649 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When doing a 'wget -O -' turn on the quiet flag, lest the status barandersen2001-05-131-1/+2
| | | | | | | | noise get mingled with the retrieved webpage. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2631 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make stdio functions which can be interrupted by the progressmeter timerkraai2001-05-091-5/+49
| | | | | | | recover gracefully from EINTR. git-svn-id: svn://busybox.net/trunk/busybox@2589 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied a patch from Laurence Anderson to fix the wget statusbar and a patchmarkw2001-04-171-19/+17
| | | | | | | to usage.h to document the -q option. git-svn-id: svn://busybox.net/trunk/busybox@2361 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use putc, and write to stderr as the rest of the progressmeter does.kraai2001-04-111-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2322 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Only finish with a newline if we are displaying the progress indicator.kraai2001-04-111-2/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2321 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix behavior when extracting to stdout. Report and patch bykraai2001-04-111-5/+5
| | | | | | | Evin Robertson <nitfol@my-deja.com>. git-svn-id: svn://busybox.net/trunk/busybox@2320 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch from Laurence Anderson <laurence@zxmail.com> fixesandersen2001-04-101-17/+30
| | | | | | | | wget HTTP 1.1 support and addes chunked encoding so bb wget is now fully RFC compliant. git-svn-id: svn://busybox.net/trunk/busybox@2296 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Dmitry Zakharov <dmit@crp.bank.gov.ua> which addsandersen2001-04-051-97/+282
| | | | | | | | | | | | | | | | | - support for ftp downloads - HTTP basic authentication support (as an optional feature) - handling of http redirections - protocol version changed to 1.0 (to stop servers from requesting chunked encoding) - bugfix: in the case when content-length not given, wget didn't download anything - when attempting to continue an aborted download but server doesn't support restarts, reopen output file in write mode - changed assumption that existing file should restart an aborted download. Now the user must explicitly specify this with -c git-svn-id: svn://busybox.net/trunk/busybox@2263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A nice patch from Larry Doolittle that adds -Wshadow andandersen2001-03-211-7/+7
| | | | | | | cleans up most of the now-revealed problems. git-svn-id: svn://busybox.net/trunk/busybox@2177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A cleanup patch from Jeff Garzik to static-ify a number ofandersen2001-03-091-11/+11
| | | | | | | namespace polluting things that really should be static. git-svn-id: svn://busybox.net/trunk/busybox@2027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-02-201-2/+3
| | | | | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-02-141-3/+3
| | | | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix wget error message and add (and use) chomp library function.kraai2001-02-011-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed trailing \n from error_msg{,_and_die} messages.kraai2001-01-311-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir N. Oleynik to simplify wget file openingandersen2001-01-311-3/+2
| | | | | | | using xfopen (which is what everything should be using). git-svn-id: svn://busybox.net/trunk/busybox@1729 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-01-271-2/+14
| | | | | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add errno.handersen2001-01-261-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1678 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some behavioral updates to wget so it acts a bit nicer.andersen2001-01-241-12/+21
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1651 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove the warning messages. By consensus, netkit-tiny doesn'tandersen2001-01-241-5/+1
| | | | | | | need to happen. git-svn-id: svn://busybox.net/trunk/busybox@1646 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix spelling. s/maintainence/maintenance/andersen2001-01-241-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1645 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #define -> static const int. Also got rid of some big static buffers.markw2001-01-231-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Warn about apps that will be going away in release 0.50andersen2001-01-221-1/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1636 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Clarify the statusbar config option so it states which applet it applies to.andersen2001-01-201-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1626 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Prevent / doubling and shrink parse_url.kraai2001-01-031-17/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1527 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add missing newlines to error messages.kraai2000-12-181-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1465 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More wget cleanups I've been working on...andersen2000-12-091-30/+53
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1411 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add quiet mode support.bug12000-12-091-5/+10
| | | | | | | | If wget compiled without statusbar then -q option is accepted but has no effect. If wget compiled with statusbar -q turns it off. git-svn-id: svn://busybox.net/trunk/busybox@1408 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Matt Kraai to enable proxy support.andersen2000-12-071-3/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1399 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-071-15/+15
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Write progress meter to stderr instead of stdouttausq2000-12-071-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1394 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed URL parsing bugtausq2000-12-071-8/+14
| | | | | | | Fixed -O - output-to-stdout bug git-svn-id: svn://busybox.net/trunk/busybox@1393 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove the BSD advertising clause, and replace it with a link to howandersen2000-11-141-45/+54
| | | | | | | the advertising clause has been retroactivly declared null and void. git-svn-id: svn://busybox.net/trunk/busybox@1303 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleaned up error message handling.kraai2000-10-251-16/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1235 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a spiffy progress meter.andersen2000-10-031-21/+230
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1144 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to guess an output filenameandersen2000-10-021-2/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1143 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug fix for wget, and proper attribution of Chip Rosenthal andandersen2000-09-141-8/+4
| | | | | | | | Covad Communications for the contribution of wget. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1050 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Initial implementation of wget, from Chip Rosenthal <chip@laserlink.net>.andersen2000-09-041-0/+264
Very cool. Still lacks "chunked" transfer-coding, so not totally RFC compliant for HTTP1.1, but very nice nonethe less, and very small. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1005 69ca8d6d-28ef-0310-b511-8ec308f3f277