Hello Everybody,
I need a script to perform the foll functionality.
1. First I need to ftp to my unix server with my username and password.
2. Copy one file (say junk.txt) from my local NT machine to UNIX server
I have written a script and running it in my local NT machine which does the above 2 steps.
3. Start one executable which is in the UNIX machine.
The format of my executable is
/usr/apps/dyna job = junk.txt
/usr/apps/dyna is my executable
job is a keyword
junk.txt is the file transfered
I am stuck up with the executable part here.
Manually what we do is do ftp,transfer the files and go to shell prompt and type /usr/apps/dyna job = junk.txt.
Is there any way to automate this.
Is rcp,rsh etc utilities used to perform these functions.
I need a script to perform the foll functionality.
1. First I need to ftp to my unix server with my username and password.
2. Copy one file (say junk.txt) from my local NT machine to UNIX server
I have written a script and running it in my local NT machine which does the above 2 steps.
3. Start one executable which is in the UNIX machine.
The format of my executable is
/usr/apps/dyna job = junk.txt
/usr/apps/dyna is my executable
job is a keyword
junk.txt is the file transfered
I am stuck up with the executable part here.
Manually what we do is do ftp,transfer the files and go to shell prompt and type /usr/apps/dyna job = junk.txt.
Is there any way to automate this.
Is rcp,rsh etc utilities used to perform these functions.