HP3000-L Archives

April 2002, Week 5

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:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Tue, 30 Apr 2002 16:11:47 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
>I'm currently FTP'ing data from the HP-3000 to a Linux FTP server.

Well, if the 3000 side were running Samba/iX, you could probably make
a selected directory accessible as a share and have the Linux side do
an smbmount or mount -t smbfs to get a more permanent connection than
with the ftp approach...

The MPE side could deposit files into the selected directory (with
:copy or /bin/tobyte or probably by using :rename or /bin/mv to make
sure that the Linux side won't notice a file before it's complete)
and the Linux side could use a simple operation like /bin/ls to see
if files are ready for processing (and sleep for a while to avoid too
much polling load).

The smbmount approach would keep a TCP connection open instead of
opening separate connections for each file transfer and polling.

Lars.


Oh, on a second thought... You could also have Samba run on the Linux
side and configure the "print command" to trigger a custom script for
processing the incoming data. Then the 3000 could send with smbclient
similar to :xeq /bin/smbclient "\\linux\dummyLP -P -c 'print myfile'".

With this approach, you would not even have the polling at all.

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

ATOM RSS1 RSS2