cancel
Showing results for 
Search instead for 
Did you mean: 

Download webstats folder with wget

batfastad
Grafter
Posts: 85
Registered: ‎27-09-2007

Download webstats folder with wget

Hi everyone
I'm about to move a domain name away from the ccgi platform to a new hosting provider.
However I'd like to download the webalizer stats directory before I delete the domain from our account.
I'm using wget 1.8.2 and the wgetgui 1.08c
I've worked out that the webstats folders are located: https://username:password@portal.plus.net/stats-pn/www.domain.com/
However when I try it, I end up getting loads of other folders just filled with robots.txt files, they almost look like other users stats folders
Anyone managed to do this successfully?
Thanks, B
4 REPLIES 4
Ben_Brown
Grafter
Posts: 2,839
Registered: ‎13-06-2007

Re: Download webstats folder with wget

I've just tried this on a test account and it seemed to work ok. I didn't have the username/password in the URL however, I used flags on wget to set them:
wget -r --user=<username> --password=<password> https://portal.plus.net/stats-pn/<domain>/
batfastad
Grafter
Posts: 85
Registered: ‎27-09-2007

Re: Download webstats folder with wget

I just tried this but the same thing happened.
wget -r --http-user=<username> --http-passwd=<password> -oLOG.txt https://portal.plus.net/stats-pn/<domain>/

Loads of directories... www.google.com.br, www.google.co.uk... each with just a robots.txt
Here's the wget log... http://www.highbeeches.plus.com/wgetlog.txt
Ben_Brown
Grafter
Posts: 2,839
Registered: ‎13-06-2007

Re: Download webstats folder with wget

That's odd, seems to work fine for me. Maybe it's a difference in the version of wget? I'm using GNU Wget 1.11.4, which is a bit newer than yours.
batfastad
Grafter
Posts: 85
Registered: ‎27-09-2007

Re: Download webstats folder with wget

I just went ahead and did a manual download of all the stats pages instead, rather than using wget
Although I'll try a newer version to see if that works
Thanks, B