Operating System - OpenVMS
1820483 Members
2454 Online
109624 Solutions
New Discussion юеВ

libcurl examples with VMS

 
SOLVED
Go to solution
Kelly Cox
Frequent Advisor

libcurl examples with VMS

does anyone have any examples using libcurl with the VMS c compiler? I downloaded curl and it works very nice, but I would like to call the routines from cgi programs via apache on VMS.

Perhaps I should use the openssl api directly.
Any guidance or warnings would be appreciated.
I don't want to re-invent the wheel.
6 REPLIES 6
Arch_Muthiah
Honored Contributor

Re: libcurl examples with VMS

Kelly,
Google gave this, find there are few c, cgi, apache related example programs here, Sorry! but not on the VMS platform. May be usefull as it has verious types of programs.

http://curl.haxx.se/libcurl/using/apps.html


Archunan
Regards
Archie
David B Sneddon
Honored Contributor

Re: libcurl examples with VMS

Kelly,

We are using a callable curl. We call it from
C and BASIC. It involves a slight modification
to the "standard" distribution and needs the HP
SSL kit to be installed. If you are interested
please contact me... dbsneddon at bigpond dot com
It comes as a PCSI kit.

Dave
Steven Schweda
Honored Contributor

Re: libcurl examples with VMS

The cURL library may be a good way to avoid
re-inventing wheels. I probably can't
actually help, but I'm a little curious about
what kinds of things you want to do. I'd
expect to use libcurl to download material,
not to help generate it.

I probably got the cURL stuff working when I
was working on BOINC for VMS, so I'd expect
it simply to work, possibly using a UNIX-like
file spec here or there. (I never really
looked at what the BOINC code did with the
cURL stuff. I changed the cURL builder to
deal better with the different SSL varieties,
and to compile using "/float = ieee_float",
and I got the BOINC code to link (and run a
little), so I'm assuming that the cURL stuff
was working.
Kelly Cox
Frequent Advisor

Re: libcurl examples with VMS

Ive read a lot of the manuals at haxx..se, and plenty of examples online. curl at dcl level is working fine.

I need to read the response that comes back from remote web server when I pass control off to a different server. curl works for dcl, but the reply seems to disappear when curl is called from cgi. So i thought to use the libcurl calls.
Kelly Cox
Frequent Advisor

Re: libcurl examples with VMS

David, i'm VERY interested in what you have already got working. We have the HP ssl loaded. Please email me direct kaycee at kaycee dot net , tia...
David B Sneddon
Honored Contributor
Solution

Re: libcurl examples with VMS

Kelly,

You have a copy of the AXP kit. It is also now
available from my software page (I won't post
the link incase the link police remove it...)
I am looking at getting an I64 kit soon, which
will also be avaiable from my web page.

Dave