|
Kathie, I do question why the PC software does not have a "scripting" language to do just what you want - we have MSI devices going to a PC and that PC does the FTP to the AS/400 as part of the software. That being said, your issue is that the software you have does not have that - so... I would write a job on the AS/400 that would loop with a delay job, for example here we loop every 5 minutes. This job would then read the directory from the PC into a database file on the AS/400, at which point you can read through to see if there are any new files to FTP and process. At that time too, AFTER the successful FTP to your AS/400, move/delete/rename the file(s), as to how your business requirements dictate. On the flip side (there are many ways to skin this cat) You could; if you have a java engine on the PC; write up the app there to do the work of seeking and sending in java. Or do it in basic, visual basic or C++, foxpro, the list goes on and on... depending on your skill set available and the dollars your are willing to invest. As for your other need, the AS/400 "IF" hooked up to your network properly and through a firewall to the internet could send e-mail confirmations of the file receipts, or for that matter, fax a confirmation - again, depending on your budget and skill set. Just a few ideas to chew on, HTH Mark -----Original Message----- From: midrange-l-admin@midrange.com [mailto:midrange-l-admin@midrange.com]On Behalf Of Heeter, Kathleen Sent: Friday, May 24, 2002 1: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
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.