× 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.



Tim,

Take a look at http_url_post()

* http_url_post(): Post data to CGI script and get document
*
* peURL = url to post to (http://www.blah.com/cgi-bin/etc)
* pePostData = pointer to data to post to CGI script.
* pePostDataLen = length of data to post to CGI script.
* peFilename = Filename (in IFS) to save file into
* peTimeout = (optional) give up if no data is received for
* this many seconds.
* peContentType = (optional) content type to supply (mainly
* useful when talking to CGI scripts)
*
* Returns -1 upon failure, 0 upon timeout,
* 1 for success, or an HTTP response code
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

You'll have to read the stream file after it's stored in the IFS, but it should work for you.

Doug

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of tim
Sent: Thursday, August 03, 2017 3:46 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: [EXTERNAL] Re: scotts LIBHTTP question - return results can be huge

thats what i was hoping. but not sure if im am even using the correct function.


On 8/3/2017 3:38 PM, Bradley Stone wrote:
Is there no way to save the results to a stream file instead of being
returned as a variable?

Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #20: The ability to specify multiple email
routers/relays to make sure emails are sent when they need to be.

On Thu, Aug 3, 2017 at 2:18 PM, tim <iseriesstuff@xxxxxxxxx> wrote:
thanks dan



On 8/3/2017 3:03 PM, Dan wrote:
Tim, if you get no responses here, try Scott's FTPAPI/HTTPAPI mailing
list. More info here: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.scottklement.com_ftpapi_ftpapilist.html&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=lnuevIKaP4FqvLtqsH3EwAW8y1a0lnSVEXtO3tgWxDI&s=wI6hGcDo8s3Wf3WAcb5icrsTgDwYIesRKpI38q4I8zA&e=

- Dan

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=lnuevIKaP4FqvLtqsH3EwAW8y1a0lnSVEXtO3tgWxDI&s=KytRRvHqtJqTA41fYfEvEqB3IXdqsk-niISsSVOCCco&e=
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?u=http-3A__archive.midrange.com_rpg400-2Dl&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=lnuevIKaP4FqvLtqsH3EwAW8y1a0lnSVEXtO3tgWxDI&s=YxmubQZUFdcVu7KxfXvvey79f8fC1_Bo8Dmalj0H5qY&e= .

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://urldefense.proofpoint.com/v2/url?u=http-3A__amzn.to_2dEadiD&d=DwICAg&c=TRM22a2q2ENZDxdZ_Nz-0OCGEspXTWPuaB6Jil0RfKE&r=o-YzpsmRCPgZlWO4EB4wsOj50O0KPLUTK9BP-UzK-UQ&m=lnuevIKaP4FqvLtqsH3EwAW8y1a0lnSVEXtO3tgWxDI&s=sV8OdWuKvnXXBpTkLw_2sWI23Edsg8Ru8SIi7_VPx14&e=


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.