Solved

port the file from solaris to windows

Posted on 2003-11-17
4
333 Views
Last Modified: 2013-12-27
I have a Solaris server where a set of log files are created by the application, and on a windows 2000 machine I have a reporting tool running which uses the log files residing on the Solaris machine to generate reports through ftp. Since secure is an issue, we want to use secure ftp or ssh that wld port the file from solaris to windows, This has to be done daily, so I have a cron job running on the solaris that in-turn call a ssh shell script and do the job for me. pls let me know how this can be achieved.
0
Comment
Question by:pradeepbkumar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 50 total points
ID: 9768833
Just install ssh client on your windows box, then you can pull the files from Windows via a scheduled job.

If you want to do it the other way round (Solaris->Windows), install a ssh server on the Windows box instead.
0
 
LVL 3

Expert Comment

by:UkWizard
ID: 9773262
Putty is a freely available client program to use, then you could schedule a batch file to run on the windows machine.
 

see the PSCP or SFTP utility here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Alternatively, run samba on the solaris box and share the logfile directory, to the windows machine.
That way you can access the logfiles 'on the fly' accessing it as a mapped drive,without having to download it at all.

Regards

UkWizard
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question