Discussion Locked

unix - windows connectivity

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I need to write an application on windows 98 by which I can remotely trigger a cobol appliction placed on a unix server at a specified path. I also need to create an input file in this area and read from an output file once the same has been generate from the cobol application. The problem is how I can do this remote triggering without any piece of coding on the server end.
Thanks

Vazglen

5 replies

by cpfeiffe

The easiest thing would be if you could get an NFS share from the Unix server to the windows machine (via Samba). Another method is to use rsh (rsh is a Unix command, but you can get rsh for windows). Another, more secure method that comes to mindis SSH. Make the Unix machine an SSH server (you can get openSSH for free if you don't want to buy commercial SSH). Install an SSH client on the windows machine (i.e. putty) and use SSH in your batch job. Depending on which SSH client you use, the syntax for automating this will be different. A final thought would be to simply FTP an empty file to the Unix server as part of your script and have the Unix server run a cron job that checks for the file regularly. If it sees it, it will deletethe file (so it doesn't mistakenly run it again) and then run the job.

by ivbellen

Hi,
Use ssh.Try to install teraterm pro/ttssh in you windows machine.use ssh instead of telnet for a more secure session.But of course configure first in the unix server the ssh connection.Create a user account.Remember the passphrase. and get youridentity generated from the unix server when you created an account for ssh.You will need this identity when you try to connect from windows.It will ask for an identity.If succesful you will have a secure connction already.
Try to search about SSH for clarity

This discussion is closed to new replies.