Skip to content

Full function cURL wrapper with URL up to 32K

Latest
Compare
Choose a tag to compare
@NielsLiisberg NielsLiisberg released this 04 Mar 11:52
· 7 commits to master since this release

All basic features of cURL are supported

For ILEcurl to work you need to run yum install curl on your target box.

Download the release.savf and place it on the IFS ie. /tmp/release.savf

Now install the binary release

CRTLIB ILECURL
CPYFRMSTMF FROMSTMF('/tmp/release.savf') TOMBR('/QSYS.lib/ILECURL.lib/RELEASE.FILE') MBROPT(*REPLACE) CVTDTA(*NONE)
RSTLIB SAVLIB(ILECURL) DEV(*SAVF) SAVF(ILECURL/RELEASE)

You can now copy the ILEcurl prototypes and service program into your application
library if you wish. You can also merge it into your application library directly
with this restore command:

RSTOBJ OBJ(*ALL) SAVLIB(ILECURL) DEV(*SAVF)  SAVF(ILECURL/RELEASE) MBROPT(*ALL) ALWOBJDIF(*FILELVL) RSTLIB(MyAppLib)