|
Have the person sending the file via FTP issue a QUOTE RCMD which allows you to run a command on the AS/400. Tell them to run a SMBJOB command that fires off a pgm to process that file they just sent. Example of what would be in the FTP script:'QUOTE RCMD commandstring' I got the above off of this link: http://archive.midrange.com/midrange-l/199712/msg00032.html Aaron Bartell -----Original Message----- From: AprAlexa@aol.com [mailto:AprAlexa@aol.com] Sent: Monday, March 19, 2001 2:54 PM To: Rpg400-L@midrange.com Subject: FTP Question Is there a way to tell the AS400 a file as been received on a separate server and is ready for processing? I have a customer who will be sending me data via FTP to an NT Server. Once the file is on the server I would like it to send something to the AS400 to tell it data has arrived so the AS400 can retreive the data and begin running the jobs. Any ideas? +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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-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.