HP3000-L Archives

December 2001, 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:
"Wyman, Alan" <[log in to unmask]>
Reply To:
Wyman, Alan
Date:
Sat, 29 Dec 2001 10:24:33 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
We are currently using FTP from a NT box to the HP3000.  The NT box does a
PUT and then a SITE STREAM command in FTP.  The job then is launched to
process the file and create a new file to send back to the NT box.  The NT
box is running a Java program to watch for the new file in the directory and
does a GET when it appears.  Not exactly what you want but it sounds like
you have control of both sides of the process.

Alan Wyman
Manager of Computer Operations
U.S. Foodservice - Eagan
(formerly Alliant Foodservice)
(651) 683-4253

-----Original Message-----
From: Neil Harvey [mailto:[log in to unmask]]
Sent: Saturday, December 29, 2001 7:17 AM
To: [log in to unmask]
Subject: [HP3000-L] Trigger action when file arrives

I know this has probably been asked and answered before, but I couldn't
locate anything in the archives. I did reread the thread on triggering an
extract on an HP3000 from an HP9000 and transferring the file back to the
HP9000 for processing.

I'd like something to happen on an HP3000 (a command to run) when a file
arrives in a directory. The command would take care of file
deletion/renaming etc.

I can obviously write some brute force CI script, but was wondering if there
was a more elegant (and resource lean) way of handling the "directory watch"
process on the HP3000.

I'm currently using Sendmail to receive the info in an email message and
fire off a command, but I'd like to change to Samba (or FTP), because I
don't want the 10 second delay introduced by email on both sides.

I notice that 'finfo("file","exists")' doesn't like wildcards.

Regards

Neil

* 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