HP3000-L Archives

February 2005, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Charles Finley <[log in to unmask]>
Reply To:
Charles Finley <[log in to unmask]>
Date:
Sat, 12 Feb 2005 07:01:56 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
We've used curl for this in the past.  I missed part of this thread, however, if the question is getting an MPE system to run a program on a linux machine,  curl with telnet can be used to do this.  http://invent3k.external.hp.com/~MGR.HIRSCH/. BTW, it can be used with ssh in the same fashion.  We've also used a technique described by Lars Appel http://www.editcorp.com/Personal/Lars_Appel/JavaDemo/telnet/ that involves JAVA and telnet.  His example shows going from some other OS to MPE, however, it obviously works the same way.  This too can be used with ssh in a similar fashion.

We also created something similar to what Greg describes to go from a Windows machine to an HP 3000 using remsh.  Remoting a shell is considered by some people to have a lot of security issues so many organizations will not allow it.  However, curl or java for that matter can be made to use ssh instead of Telnet.  ssh use is usually acceptable for secure use.



-----Original Message-----
From: Greg Stigers <[log in to unmask]>
Sent: Feb 11, 2005 7:42 PM
To: [log in to unmask]
Subject: Re: FTP - can I execute script on remote Linux?

How about
run ftp.arpa.sys;info="foreignhost"
exitonerror
put thisfile
rename thisfile yourfile
:run remsh.net.sys;info="foreignhost -l ftpuser -n thisfilescript"
put thatfile
...
exit

I would expect remsh to not return control until it had "done its thing", at
least initiating the script. If not, I suppose you could always through in a
:PAUSE, which someday will not pause long enough...

Of course, your Linux box may be running a more permissive ftpd. Have you
tried remotehelp site, to see what it will support? And, there's always
having your Linux box detect the file in its own script.

Greg Stigers

----- Original Message -----
From: "Nichols, Gibson (G.M.)" <[log in to unmask]>
To: "Greg Stigers" <[log in to unmask]>; <[log in to unmask]>
Sent: Friday, February 11, 2005 8:52 PM
Subject: RE: FTP - can I execute script on remote Linux?


> Okay, thanks for the ideas.  - I'll have to think about this.  I'm really
> looking for a way within FTP since I'm transfering files.  But I suppose I
> could drop out of FTP then go to another method after I've transfered the
> files.  I know very little about these other methods.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2