Richard Travett [EMAIL PROTECTED] writes:
I'm going to try this again since last time I got only one response
which unfortunately, although helpful, didn't solve the problem. :-(
I won't include all the logs again (Maybe the length put people off
reading it!) but I'll just ask the question:
Sorry for not responding -- I was a bit busy after the release.
Of course, it was perfectly fine to include the logs, they were
certainly not the reason for ignoring the mail!
Rick wget ftp:[EMAIL PROTECTED]/dl/a.a
and I have a .netrc, would you expect wgetrc to look for the remote
user / password (i.e. the password for rick at a.machine.com) in
the .netrc file?
I would but it doesn't - it searches the .netrc file for an entry
associated with my proxy machine!?
This is a bug. Does this patch fix the problem?
Index: http.c
===
RCS file: /pack/anoncvs/wget/src/http.c,v
retrieving revision 1.61
diff -u -r1.61 http.c
--- http.c 2001/05/27 19:35:02 1.61
+++ http.c 2001/06/14 20:45:57
@@ -718,7 +718,7 @@
/* Construct the authentication, if userid is present. */
user = ou-user;
passwd = ou-passwd;
- search_netrc (u-host, (const char **)user, (const char **)passwd, 0);
+ search_netrc (ou-host, (const char **)user, (const char **)passwd, 0);
user = user ? user : opt.http_user;
passwd = passwd ? passwd : opt.http_passwd;