[Israel.pm] web-based script
Shlomo Yona
shlomo at cs.haifa.ac.il
Tue Aug 31 04:36:23 PDT 2004
On Tue, 31 Aug 2004, Anatoly Vorobey wrote:
>> * run another script that compiles something out of the file
>> <after a few hours of processing a new file is created>
>> * sftp the file to server A
>> * ssh to server C
>> * ssh from C to server B
>> * sftp from server B to server A and get the new file
>> * chmod the file on server B as it should be
>
> Call sftp from the shell script. Call ssh from the shell script with
> another shell script name on the command line. That script resides on C
> and has an ssh invocation with the name of another script on B. The
> script on B does the sftp and chmod. Or you can combine it all in one
> ungainly command line in the original script, I guess (if you get the
> escaping right).
I didn't understand this...
Can you give an example?
>
>
--
Shlomo Yona
shlomo at cs.haifa.ac.il
http://cs.haifa.ac.il/~shlomo/
More information about the Perl
mailing list