× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: AS/400 program to retrieve a URL?
  • From: Tim McCarthy <TimM@xxxxxxxxxxxxxxxxxx>
  • Date: Fri, 6 Aug 1999 14:20:51 -0400

Not all URLS can be accessed this simply. There are differences to take
into account depending on whether you're connecting directly or through
a proxy server, whether the URL access is via GET, PUT or HEAD and if
parameters are required and whether a MIME body is needed. You may need
to identify your user agent, the proxy connection state, caching and so
on. And on top of this you may need to return a cookie. The returned URL
could be encoded as well so you may have to decode it before it's
useful. etc etc 

> -----Original Message-----
> From: Amit.Mukherjee@smed.com [SMTP:Amit.Mukherjee@smed.com]
> Sent: Friday, August 06, 1999 7:42 AM
> To:   MIDRANGE-L@midrange.com
> Subject:      Re: AS/400 program to retrieve a URL?
> 
> 
> 
> This can be done using a socket program to first establish connection
> with
> the http server (www.xyzcompany.com) at port # 80 (generally that is
> the
> port http servers use) . Then send the GET http request
> (GET http://www.xyz.com/index.html) to retrive the web page . I have a
> RPGLE program which does exactly that .
> 
> -Amit
> 
> 
> 
> 
> 
> David Gibbs <David.Gibbs@IL.US.MKS.com> on 08/05/99 02:37:17 PM
> 
> Please respond to MIDRANGE-L@midrange.com
> 
> To:   "'Midrange Mailing List'" <MIDRANGE-L@midrange.com>
> cc:    (bcc: Amit Mukherjee/SMS)
> 
> Subject:  AS/400 program to retrieve a URL?
> 
> 
> 
> 
> Folks:
> 
> Does anyone know of a AS/400 program that will retrieve a web page
> from a
> web server based on the URL?
> 
> Thanks!
> 
> david
> 
> 
> --
> 
> David Gibbs
> Sr. Software Engineer
> Mortice Kern Systems US, Inc.
> 2500 S. Highland Ave., Suite 200
> Lombard, IL  60148
> 
> phone: (630) 495-2108 x5004
> http://www.mks.com <http://www.mks.com/>
> mailto:dgibbs@mks.com <mailto:dgibbs@mks.com>
> 
> 
> Opinions expressed are strictly my own and do
> not necessarily reflect those of my employer.
> 
> 
> +---
> | 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
> +---
> 
> 
> 
> 
> 
> 
> +---
> | 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
> +---
+---
| 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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.