1834930 Members
2737 Online
110071 Solutions
New Discussion

Re: starting a script

 
SOLVED
Go to solution
Maciej Szewczykowski
Frequent Advisor

Re: starting a script

i forgot to mention that the script invoked (and supoosed to be run) is first copied to the remote system.
gentlemen, according to what you stated above, is there some way to activate remote script via ftp?
Pete Randall
Outstanding Contributor

Re: starting a script

Maciej,

The only way I can see to run it on the remote host would be to take the commands out of the remote script and put them into the first script.


Pete

Pete
Darren Prior
Honored Contributor

Re: starting a script

No, you cannot remotely run scripts via ftp - it would be really bad for security!

You could use remsh to run the script. There are security issues with using it, other people will be able to give you other recommendations, perhaps using SSH.

regards,

Darren (who can't believe how fast everyone else seems to be typing today!)
Calm down. It's only ones and zeros...
Yogeeraj_1
Honored Contributor

Re: starting a script

NO, you cannot invoke the remote script using FTP commands!

after the ftp commands use remsh to trigger the execution.

hth
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yogeeraj_1
Honored Contributor

Re: starting a script

NO, you cannot invoke the remote script using FTP commands!

after the ftp commands use remsh to trigger the execution.

hth
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Maciej Szewczykowski
Frequent Advisor

Re: starting a script

Dear Pete

thanks a lot, but the problem is a bit more complicated than it seems to be.
this script aims at creating archives on the remote system, once it's done, the archive has to be transferred to the local host.
as you see, a part of the commands should be executed by the local host, another part by remote. therefore i'm afraid i cannot settle this matter with one script only.

regards
Pete Randall
Outstanding Contributor

Re: starting a script

Then it sounds like the remsh solution is the only remaining option.

Pete

Pete
Yogeeraj_1
Honored Contributor

Re: starting a script

hi,

Take a look at Mr. Steele's post in this URL:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbd8619434a69d711abdc0090277a778c,00.html

seems that you have your solution here!

Best Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)