I have to setup a page where a client can view their log file activities. I have FTP access to their server, but thats it. The log files are there. They want me to set up a page where they can view current log files. My servers use CPanel and include AWstats etc... I need to set something up for them? Can anyone help...
If they are competent to d/l the log files, have them d/l the freeware/demo version of FunnelWeb. It's far superior to Awstats.
The problem is, they are using apache and the log files are setup as one massive access log. Having them download that everyday will consume a massive amount of bandwidth.
You can try getting just the tail of the log file. Keep in mind that this command isn't supported by all FTP servers. Run the ftp utility from the command prompt (the one on Windows doesn't support this syntax, however, MS FTP server does) and execute these commands: # ftp ftp.my-server.com ... cd <log file directory> restart <number -- offset from the start of the file> get access_log This should get you the portion of the access_log file starting from the number following the restart command. Edit: you can also use the reget command - it gets the rest of the file if it already exists in your local folder: # ftp ftp.my-server.com ... cd <log file directory> reget access_log J.D.