|
A simple way would be to use the CPYTOPCD command to copy the file to a shared folder on the AS/400. The PC application would then check this folder periodically to see if the file was there. Then it would send the file and delete (or rename) it, then go back to sleep. In order to avoid possible file contentions you could generate a unique PC file name (ex FTP0001.DTA) then use the DOS DIR command to a file (DIR I:*.DTA >WORKFILE.TMP) then read the file to find out the file names to be transferred. >---------- >From: David Duerr[SMTP:dduerr@ix.netcom.com] >Sent: Tuesday, January 13, 1998 3:49 PM >To: Midrange Computing >Subject: Sending AS/400 file(on V3R0M5) to internet site. > >I need to develop an application for a client that will automatically >transfer an AS/400 file to an internet site based on a predefined >schedule, without any manual intervention. Unfortunately their AS/400 >is still running V3R0M5. Upgrading to V3R2 is not an option because >they are replacing the box in the near future with a RISC box, but need >this application ASAP. > >I am currently planning on using a PC to receive the file from the the >AS/400, then FTP from the PC to the internet site. The PC will be >dedicated to this task. > >If anyone can shed any light on how this all can be automated so no >manual intervention is required would be greatly appreciated. > >Thanks. > >+--- >| This is the Midrange System Mailing List! >| To submit a new message, send your mail to "MIDRANGE-L@midrange.com". >| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- >uucp > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.