Automatically copying files from server to local drive?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Automatically copying files from server to local drive?
# 1  
Old 06-05-2008
Automatically copying files from server to local drive?

I would like automate the process of copying some logs files from a server to my local hard drive at a set time each week/day.

I don't really know anything about creating and scheduling jobs. Is this something I could setup relatively easily?

I would like to automatically copy all the logs that begin with 'webserver' to a drive on my desktop computer every few days or once a week.

I guess I could overwrite the existing logs on the desktop PC although renaming them so as not to overwrite anything would be preferable.

edit: desktop is Win XP, servier is Solaris 10

Any ideas how I could do such a task?

Thanks.

Last edited by Sepia; 06-05-2008 at 11:18 AM.. Reason: additional info
# 2  
Old 06-06-2008
Tools

You must not have a firewall in between your XP and SUN server network.
If this is true,
you can use a ftp transfer from your SUN server to your Windows machine. All you have to do is to add a cronjob entry. Do you get it?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Copying from server to a local machine

Hi, I am trying to copy a file from oracle home on a unix platform to my local machine. I think i can use ftp but i am not sure of the exact syntax and way i should write this. Can someone help please? (2 Replies)
Discussion started by: dollypee
2 Replies

2. UNIX for Dummies Questions & Answers

Copying files from Unix Server to Local

How to copy files from Unix server to Local (6 Replies)
Discussion started by: win4luv
6 Replies

3. UNIX for Dummies Questions & Answers

Copying files from Unix Server to Local

How do i copy files from Unix Server to my Local Desktop.. ANy ideas..please suggest....V Urgent. (1 Reply)
Discussion started by: win4luv
1 Replies

4. Shell Programming and Scripting

RCP for copying the files from one drive to other on Windows

Hi, I have a requirement to move the files between two drives in windows machine from Korn sheel. I came to know that It can be done through RCP. Can any one help me with syntax for connecting to Windows machine and moving the files with RCP in KSH? Thanks in advance. Double post.... (0 Replies)
Discussion started by: Raamc
0 Replies

5. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

6. UNIX for Dummies Questions & Answers

Copying files automatically

Ok here is my issue. I have processes which will get screwed up and not run because certain log directories wind up filled too much and a directory will have 100,000 files in it. The only way to fix this is to move files out of this directory until the number of files is small enough that the... (7 Replies)
Discussion started by: MrEddy
7 Replies

7. Shell Programming and Scripting

how to take file from SAP server to local serve automatically

Hi, I have problem in writing the UNIX scripts,I have one SAP server and my local server .I want to take one file from SAP server to my local server weekly bases I want to write one UNIX scripts which will automatically takes that file from SAP server to my server.so I need not need to pull the... (1 Reply)
Discussion started by: Mohsin22021987
1 Replies

8. UNIX for Dummies Questions & Answers

Copying files from a remote server to local system with cygwin

Hi. I'm sorry if I get on people's nerves asking this, but I don't really understand how to do this and unfortunately don't have the time to work through it step by step in books, etc. At University, we have a unix server that hosts our files. we each have a login and password to access it. I... (3 Replies)
Discussion started by: patwa
3 Replies

9. OS X (Apple)

Help with copying files to external drive in single user mode

I'm a newbie to Unix and hoping that it will be my saviour when all else has failed. My "keys out of order" on my g4 laptop and neither Disk Util nor Disk Warrior can fix it. I'm experimenting in the unix command line (I figure I can't mess this laptop up anymore , and have figured out how... (3 Replies)
Discussion started by: mishostawn
3 Replies

10. UNIX for Dummies Questions & Answers

copy files from local drive to telnet unix machine.

i want to run some solaris executable program (text file). i telnet to solaris machine. the text file is on the net drive h: or my local drive on windows system. how can i copy the text file from local drive in windows to remote machine in solaris system? thanks. (4 Replies)
Discussion started by: gary
4 Replies
Login or Register to Ask a Question