Forum Moderators: phranque
i really need some help
i need to copy my web server log files to an accessable dir so i can analyze them on my local pc
i have fount unix ftp command info but i am unble to get this to work...
would it be possible for somebody to put a step by step guide together for this
the path to file is /var/log/error_log
error_log is the actual file i need to copy to accessable dir
we can use www.ftpfilehere.com/0404 for this
please start step by step with user (me) an my pc SSH application and having just logged into server only
many thanks
1) START
2) RUN
3) command.com
4) ftp www.example.com [replace with your domain name]
[enter appropriate user name and password as requested by your server]
5) cd /var/log
6) ascii
7) get error_log
This will retrieve the file 'error_log' to the current local directory on the PC.
Matt
my web server is remote - i need to use unix ftp command to copy error log to one of the web sites on that remote server so i can then ftp into that remote web server from my local windows pc and use my ftp app to retrieve the copied file and move it to my local machine...
the problem i am having is executing the ftp unix command on the remote web server...
i have total ssh access to that remote web server
my goal is to get "how to use unix ftp command for complete rookies' step by step, starting with me sitting at my pc with ssh program on and logged in to box to start
many thanks