|
I wrote a Java and a VB program that uses sockets and another Java program that uses Data Queues to accept PC commands from the AS/400. Your choice as to which one you use. The PC component replaces the need for an FTP server on the PC. If you want the source, and the article that had accompanied them in Midrange Computing, let me know and I'll email them to you. Shannon O'Donnell ----- Original Message ----- From: "Leif Svalgaard" <leif@leif.org> To: <midrange-l@midrange.com> Sent: Wednesday, October 17, 2001 12:43 PM Subject: Re: Calling PC program Via FTP, Urgent!!!! > From: Buck Calabro <Buck.Calabro@commsoft.net> > > >Could someone tell me how to call a PC command > > >from AS400 FTP session??. > > You can do similar things with a PC ftp server only if the ftp server > > understands RCMD. Most probably, you need to be running an rexec daemon to > > get the ftp server to execute commands on the PC, but that depends on the > PC > > OS and ftp server. Use quote help or quote server to see what commands the > > PC server supports. > > a simple daemon could be a program that runs on the PC checking every few > seconds if a certain file has arrived (via FTP). When the file arrives, > copy it to a .bat file, delete it, and then execute the .bat file and finally > go back > to checking again. > > > > > _______________________________________________ > 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 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.