Have to download and save locally html files from the web

b-707

Member
Hello dear Progressmen.

I am looking for a way (having the url) to download html files from some website on internet to my local directory.
In .Net I would generate httpRequest and then would capture the response text. What way should I go in Progress? I've seen the WEB-CONTEXT object, WEBSTREAM e.t.c Did not find any adequate examples for my trouble. Please guide me.

TY

P.S. Our external website generates nice looking reports in html format. We would like to have those files accessible locally as hard coded html files for further processing.

P.S.S We wouldn't like to evolve browser in this operation.
 
I searched this in help files and in the documentation. No results :-( Would you please provide more hints?

TY
 
:)

wget it's a uni* command line that it's usually used to download files given the URL (http, ftp)... as Rares said, use man if you are in linux/unix ;)

there are other options, use an ocx (like microsoft web browser control, part of IE... if you are in windows), or simply make the request using plain abl socket programming... there are a few gethttp/posthttp programs out there in code share sites like oehive.org, progress communities and alike.
 
I cannot use wget because files I'd like to download don't exist. Those are html(or aspx) documents generated on fly. Which means I have to request those documents. I liked the idea of programming to sockets, will take a look.

P.S. gethttp search didn't bring any results on oehive...
 
Back
Top