|
You could have a small socket program on your NT machine that submits the CGI request to the HTTP server port, usually 80, unless you changed it. You can talk to the HTTP server using a telnet client on the PC. telnet <AS/400 host name> 80 <HTTP method> /somecgirequest HTTP/1.0 <enter> <enter> telnet myas400 80 GET /cgirequest HTTP/1.0 <enter> <enter> If your CGI runs using method POST, you will need to pass the input data following the 2nd enter. Richard G. Hartmann IBM AS/400 TCP/IP & Server Development Internet e-mail: rgh@us.ibm.com To: MIDRANGE-L@midrange.com cc: (bcc: Bryan Dietz/Columbus/3X Corp) Subject: AS/400 as an http client Hello all, I know that the AS/400 can serve web pages but can an AS/400 program request a page from another server? We need this capability for the folowing reason: Each nignt, our AS/400 send a files to an NT server via FTP. After receiving the file, the NT server must start a process that will incorporate the file's data into an intranet application. The way to start the processing in the NT server is to request a web page that as a CGI program linked to it. We can not put a program on the NT server that would monitor activity on the transfered file. I hope my explanation is clear enought Thank you in advance Denis Robitaille Cascades Inc 819 363 5187 fax 819 363 5177 DRobitaille@cascades.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@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.