Forum Moderators: phranque

Message Too Old, No Replies

using telnet to find out if a page has been viewed

         

esllou

2:15 pm on May 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a bot-trap set up on my site and without having to download 20-40 meg of log files every day, I want to be able to use telnet to see if the file has been accessed that day or not.

I know it is possible as I used to do it couple of years back with another file but, obviously, have totally forgotten the necessary commands. I also used to use telnet to tell me the top 20 IP numbers according to resources used on my site....and have forgotten that code too! :-(

So imagining I am in the correct directory (i.e. where my "today" log file is), what telnet command(s) would tell me

- how many page views ****.html has had
- which IP's have accessed xxx.html
- what else did that IP go on to access

this will be a big step towards saving me a lot of time.

bcolflesh

2:18 pm on May 27, 2004 (gmt 0)

karmov

7:52 pm on May 27, 2004 (gmt 0)

10+ Year Member



I would strongly urge that you use an SSH connection rather than Telnet if possible. Telnet sends stuff (like your password) through the Internet in plain text, SSH encrypts it. A lot of the time it won't matter, but sometimes it does...

Search for an SSH client (I use putty but there are others) and try to connect to your host using that. It should work pretty much exactly the same as Telnet from your perspective.