× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Here you go Kathie, fresh from the MSDN web site.

http://msdn.microsoft.com/library/en-us/fileio/filesio_1545.asp?frame=true

Just add some ftp code to send the file to the 400 and some client access
api code to run a cmd or program on the as400 to process the just arrived
file.

Steve Richter
AS400, windows contract programmer
srichter @autocoder.com



http://msdn.microsoft.com/library/en-us/fileio/filesio_1545.asp?frame=true

"Monitoring Changes in a Directory or Directory Tree
The following example monitors the directory tree starting at C:\ for
directory name changes. It also monitors the C:\WINDOWS directory for file
name changes.

The example uses the FindFirstChangeNotification function to create two
notification handles and the WaitForMultipleObjects function to wait on the
handles. Whenever a directory is created or deleted in the tree starting at
C:\ , the example updates the entire directory tree. Whenever a file is
created or deleted in the C:\WINDOWS directory, the example refreshes the
WINDOWS directory. The FindNextChangeNotification function restarts the
change notification each time the example processes a change. "


-----Original Message-----
From: midrange-l-admin@midrange.com
[mailto:midrange-l-admin@midrange.com]On Behalf Of Heeter, Kathleen
Sent: Friday, May 24, 2002 2:33 PM
To: 'midrange-l@midrange.com'
Subject: Send Files from PC to AS/400 based on an event


Good Afternoon;

We are implementing a new software package on our branch pc's.
This software will create text files of orders to be sent to the as/400. One
file will be created per order. Pxxxmmddyyhhmmss is the naming convention of
each individual file. We need to come up with the best way to automatically
get these files to the 400 without user (salesperson) intervention. We need
to confirm to them that we received the file. We need to provide a way for
them to resend the files to us at corporate if they were not received
properly. Is there some job I can create on the PC's to say if P*.* shows up
in c:\directoryname, trigger job to send it to the 400? Then FTP the file?
Is that the best way? If so, do you know of a way to show them we received
the file....
So many questions..... Can you help? Please and thank-you tons!!!!

Kathie




Confidential: This email and any files transmitted with it are the property
of Builders Group of Companies, Inc. and/or its affiliates, are
confidential, and are intended solely for the use of the individual or
entity to whom this e-mail is addressed. If you are not one of the named
recipient(s) or otherwise have reason to believe that you have received this
message in error, please notify the sender at the above e-mail address and
delete this message immediately from your computer.  Any other use,
retention, dissemination, forwarding, printing or copying of this e-mail is
strictly prohibited.
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.