Hello, thanks for great program!

I have noticed a little bug with GNU Wget 1.11.1

Suppose
GNU Wget 1.11.1
http://site.com/content/AAA/aaa.files
http://site.com/content/BBB/bbb.files

and I want to get only aaa.files in current dir.

When I input in

wget -r --level=5 -S -nH --cut-dirs=2 -N --http-user=***
--http-passwd=***  -np -w 1 -o logfile -e robots=off
"http://site.com/content/AAA";

It gets not only aaa.files but bbb.files too.

But with "/" in the end of address

wget -r --level=5 -S -nH --cut-dirs=2 -N --http-user=***
--http-passwd=***  -np -w 1 -o logfile -e robots=off
"http://site.com/content/AAA/";

it works well.

I noticed the same bug with 1.8.2 in mail list:

http://www.mail-archive.com/[email protected]/msg05057.html


Hope it helps improve it a little.

Best regards, Michael


Reply via email to