Forum Moderators: phranque

Message Too Old, No Replies

really need nome help with unix ftp

         

iggy99

3:19 pm on Apr 1, 2006 (gmt 0)

10+ Year Member



hi

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

Matt Probert

5:25 pm on Apr 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



From your PC use FTP (its probably available through a DOS command shell)

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

iggy99

3:11 pm on Apr 3, 2006 (gmt 0)

10+ Year Member



hi matt thank you for the reply...

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