Eric Andersen
3f1cf455a0
cope with crappy windoze ftp servers
2003-03-11 18:03:39 +00:00
Robert Griebl
e8fcf4bd69
Accept the --passive-ftp cmd.line option. We always use passive ftp mode,
...
so it doesn't hurt (adds compatibility though)
2002-07-12 00:04:46 +00:00
Eric Andersen
0b31586c71
A patch from Bart Visscher <magick@linux-fan.com> to add an
...
xconnect helper routine which does:
-address and port resolving
-tries to connect to all resolved addresses until connected
-uses getaddrinfo, so works for IPv6 too
This patch also ports rdate, telnet, and wget to use the new
xconnect function. Thanks Bart!
2002-07-03 11:51:44 +00:00
Robert Griebl
d77601178d
Added support for -Y|--proxy=on/off to wget
2002-05-14 23:36:45 +00:00
Matt Kraai
272a95524f
* networking/wget.c (wget_main): Check return value of safe_fwrite.
2002-04-17 15:33:24 +00:00
Matt Kraai
0efab3319d
* networking/wget.c (parse_url): Allocate a string for the empty path.
...
* testsuite/wget/wget-handles-empty-path: New.
2002-03-19 15:22:42 +00:00
Eric Andersen
bdfd0d78bc
Major rework of the directory structure and the entire build system.
...
-Erik
2001-10-24 05:00:29 +00:00
Eric Andersen
20aab260e2
Some adjustments, mostly from David McCullough <davidm@lineo.com> to
...
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
2001-07-19 22:28:02 +00:00
Matt Kraai
0382eb8865
The -P prefix should only be prepended to filenames which are not explicitly
...
specified.
2001-07-19 19:13:55 +00:00
Matt Kraai
c8eae6684b
The directory name should only be prepended if one was specified.
2001-07-19 17:29:38 +00:00
Eric Andersen
8071c02131
Add wget -P support, finishing off bug #1176
...
-Erik
2001-06-21 19:45:06 +00:00
Matt Kraai
c55b8d41c1
Add xgethostbyname and herror_msg* functions.
2001-05-16 15:40:51 +00:00
Eric Andersen
9abfe85e96
Suggestion from Larry: no format string, use fputs instead.
2001-05-15 20:11:49 +00:00
Eric Andersen
50ae3102fb
Patch from Adam Heath <doogie@debian.org> to add arbitrary header support
...
to wget, so it can now do funky interactive things with cgi scripts.
2001-05-15 17:51:37 +00:00
Eric Andersen
95a349f427
When doing a 'wget -O -' turn on the quiet flag, lest the status bar
...
noise get mingled with the retrieved webpage.
-Erik
2001-05-13 00:55:54 +00:00
Matt Kraai
854125f6e6
Make stdio functions which can be interrupted by the progressmeter timer
...
recover gracefully from EINTR.
2001-05-09 19:15:46 +00:00
Mark Whitley
30ac01cca7
Applied a patch from Laurence Anderson to fix the wget statusbar and a patch
...
to usage.h to document the -q option.
2001-04-17 18:13:16 +00:00
Matt Kraai
da160c0da5
Use putc, and write to stderr as the rest of the progressmeter does.
2001-04-11 20:11:51 +00:00
Matt Kraai
90d7f696d6
Only finish with a newline if we are displaying the progress indicator.
2001-04-11 20:07:27 +00:00
Matt Kraai
65317ea27f
Fix behavior when extracting to stdout. Report and patch by
...
Evin Robertson <nitfol@my-deja.com>.
2001-04-11 20:03:01 +00:00
Eric Andersen
6d7fa438a7
This patch from Laurence Anderson <laurence@zxmail.com> fixes
...
wget HTTP 1.1 support and addes chunked encoding so bb wget
is now fully RFC compliant.
2001-04-10 18:17:05 +00:00
Eric Andersen
79757c9c37
A patch from Dmitry Zakharov <dmit@crp.bank.gov.ua> which adds
...
- 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
2001-04-05 21:45:54 +00:00
Eric Andersen
1ca20a7747
A nice patch from Larry Doolittle that adds -Wshadow and
...
cleans up most of the now-revealed problems.
2001-03-21 07:34:27 +00:00
Eric Andersen
3e6ff9017f
A cleanup patch from Jeff Garzik to static-ify a number of
...
namespace polluting things that really should be static.
2001-03-09 21:24:12 +00:00
Eric Andersen
cbe31dace5
It turns out that DODMALLOC was broken when I reorganized busybox.h
...
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
2001-02-20 06:14:08 +00:00
Eric Andersen
67991cf824
This patch, put together by Manuel Novoa III, is a merge of work
...
done by Evin Robertson (bug#1105) and work from Manuel to make
usage messages occupy less space and simplify how usage messages
are displayed.
2001-02-14 21:23:06 +00:00
Matt Kraai
05e782ddd3
Fix wget error message and add (and use) chomp library function.
2001-02-01 16:49:30 +00:00
Matt Kraai
dd19c69904
Removed trailing \n from error_msg{,_and_die} messages.
2001-01-31 19:00:21 +00:00
Eric Andersen
79e898ac0e
Patch from Vladimir N. Oleynik to simplify wget file opening
...
using xfopen (which is what everything should be using).
2001-01-31 17:49:47 +00:00
Eric Andersen
ed3ef50c23
Fix header file usage -- there were many unnecessary header files included in
...
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
2001-01-27 08:24:39 +00:00
Eric Andersen
dff9d54e32
Add errno.h
2001-01-26 02:04:49 +00:00
Eric Andersen
7d69701d39
Some behavioral updates to wget so it acts a bit nicer.
...
-Erik
2001-01-24 20:28:35 +00:00
Eric Andersen
f6c6d9aacc
Remove the warning messages. By consensus, netkit-tiny doesn't
...
need to happen.
2001-01-24 18:44:54 +00:00
Eric Andersen
24be980004
Fix spelling. s/maintainence/maintenance/
2001-01-24 17:37:07 +00:00
Mark Whitley
59ab025363
#define -> static const int. Also got rid of some big static buffers.
2001-01-23 22:30:04 +00:00
Eric Andersen
6705986f27
Warn about apps that will be going away in release 0.50
...
-Erik
2001-01-22 22:48:42 +00:00
Eric Andersen
370fb08e79
Clarify the statusbar config option so it states which applet it applies to.
2001-01-20 20:07:00 +00:00
Matt Kraai
a9711a5969
Prevent / doubling and shrink parse_url.
2001-01-03 16:15:15 +00:00
Matt Kraai
0dab829977
Add missing newlines to error messages.
2000-12-18 03:08:29 +00:00
Eric Andersen
29edd005f9
More wget cleanups I've been working on...
2000-12-09 16:55:35 +00:00
Glenn L McGrath
1bca5ed886
add quiet mode support.
...
If wget compiled without statusbar then -q option is accepted but has no effect.
If wget compiled with statusbar -q turns it off.
2000-12-09 08:12:06 +00:00
Eric Andersen
f3b2b52b58
Patch from Matt Kraai to enable proxy support.
2000-12-07 22:42:11 +00:00
Mark Whitley
f57c944e09
Changed names of functions in utility.c and all affected files, to make
...
compliant with the style guide. Everybody rebuild your tags file!
2000-12-07 19:56:48 +00:00
Randolph Chung
da7b82981b
Write progress meter to stderr instead of stdout
2000-12-07 03:55:35 +00:00
Randolph Chung
02553a2a18
Fixed URL parsing bug
...
Fixed -O - output-to-stdout bug
2000-12-07 03:53:47 +00:00
Eric Andersen
4e573f4729
Remove the BSD advertising clause, and replace it with a link to how
...
the advertising clause has been retroactivly declared null and void.
2000-11-14 23:29:24 +00:00
Matt Kraai
97d2612566
Cleaned up error message handling.
2000-10-25 16:25:50 +00:00
Eric Andersen
b520e083e0
Add a spiffy progress meter.
...
-Erik
2000-10-03 00:21:45 +00:00
Eric Andersen
25b669c144
Try to guess an output filename
2000-10-02 23:19:38 +00:00
Eric Andersen
3570a34de4
Renamed "internal.h" to the more sensible "busybox.h".
...
-Erik
2000-09-25 21:45:58 +00:00
Eric Andersen
5d63884a8f
Bug fix for wget, and proper attribution of Chip Rosenthal and
...
Covad Communications for the contribution of wget.
-Erik
2000-09-14 21:46:30 +00:00
Eric Andersen
9670083818
Initial implementation of wget, from Chip Rosenthal <chip@laserlink.net>.
...
Very cool. Still lacks "chunked" transfer-coding, so not totally RFC
compliant for HTTP1.1, but very nice nonethe less, and very small.
-Erik
2000-09-04 15:15:55 +00:00