Let me explain clearly about my requirement...
1) My linux box(A) contains webserver log files.
2) i wanted to copy these log files to windows Box (C)
3) there is no network link between A and C
4) i have a central solaris Box(B) which can connect to both A and C.
5) NFS is not configured on these boxes.
6) I can use either ftp or shared folders to get files from A to B and then to C.
in a single line..... the script on "B" should be able to get files from a folder on "A" and put these files to a folder on "C".
The script should to do all the above file transfer in a secure manner as these boxes are production boxes.
Thanks
Deepak
Main Topics
Browse All Topics





by: PsiCopPosted on 2005-04-11 at 10:11:21ID: 13754668
Depends on HOW the files are available from the Linux box, and HOW the file have to get to the Windoze box. For example, is everything an NFS mount on the Solaris server? Or are you using FTP? Or SFTP with host keys so there's no password sequence? No one is going to be able to write a simple script unless you take some time to *cogently* describe the environment, and what transport mechanisms are available to move the data.
So... HOW do files get moved? Or is THAT the info you're looking for, not a script?