Forum Moderators: phranque

Message Too Old, No Replies

Download log files with a batch file per HTTP

extreme time consuming to do it by clicking

         

jetteroheller

10:59 am on Feb 3, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



My provider had access and referrer log for each domain and each month.

Years ago, it was possible to download per FTP.
This was easy, choose the download directory, mark all own logfiles and start downloading.

But now, they splice log files together on the fly for the log to download. The new download is only possible per HTTP.

Now I have to click on links, click in what folder I want to download the file.

With more than 50 domains, for each access and referrer log extrem time consuming.

I have my own self written CMS, so it would be easy for me to write some sort of software to do it. But I do not know how to write a batch file to

1.) Request a document - the access log
2.) Provide user name and password
3.) Download it to a certain pathway and a certain name
4.) Request a document - the referrer log
5.) Download it to a certain pathway and a certain name
(Here no username/password, because loged in from the first download)

Who has an idea to accomplish the task?

phranque

2:48 pm on Feb 3, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



wget?

jetteroheller

11:08 pm on Feb 4, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks!

Just implemented the log file download with this.

Now just downloading October, November, December, January