Hello everyone,
I'm using wget compiled from the latest CVS sources (GNU Wget
1.8.1+cvs). I use it to mirror several ftp sites. I keep ftp accounts in
.netrc file which looks like this:
<quote file=.netrc>
# My ftp accounts
machine host1
login user1
password pwd1
machine host2
login user2
password pwd2
macdef init
# quote site dirstyle
prompt
binary
cd database
machine host3
login user3
password pwd3
macdef init
prompt
binary
cd download
</quote>
Problem is that when I try to get data from machine host3, wget tries to
log in as anonymous. It looks like it doesn't find host3 in .netrc while
it works fine with host1 and host2.
If I put machine host3 at first position in .netrc, then it works. But
in this case, it doesn't work with neither host1 nor host2.
I guess macdef directive confuses wget.
The trouble is that Wget 1.6.1 used to work with this .netrc.
Best regards,
Alexis