Robin,
I'm sure you understand that the code on your system won't change
until you update it with a new copy?
-- Scott Klement sk@xxxxxxxxxxxxxxxx
Hi Scott,
We installed HTTPAPI sometime early-2017. I used HTTP_STRING() to transport payloads, but realized this function have a 100K limitation.
P http_string B export
D PI 100000a varying
D Type 10a varying const
D URL 32767a varying const
D SendStr 100000a varying const
D options(*varsize:*omit:*nopass)
D ContentType 16384A varying const
D options(*varsize:*omit:*nopass)
Now we have a requirement to transport bigger payloads even up to 2MB. I thought I could use HTTP_REQ as I see the input request parameter on this function accept up to 16MB. But when I test it, even this function internally limits the payload size to 100K. I think the getBufferInfo() returns 100K max length.Please advise why this limitation, when the input parameter accepts up to 16MB data.
P http_req B export
D PI 10i 0 opdesc
D Type 10a varying const
D URL 32767a varying const
D ResultStmf 5000a varying const
D options(*varsize:*omit)
D ResultStr a len(16000000) varying
D options(*varsize:*omit:*nopass)
D SendStmf 5000a varying const
D options(*varsize:*omit:*nopass)
D SendStr a len(16000000) varying const
D options(*varsize:*omit:*nopass)
D ContentType 16384A varying const
D options(*varsize:*omit:*nopass)
I read through the community support and found the limitation on HTTP_STRING() is now resolved with latest version.
Is installing new HTTPAPI version is the only option now to overcome this 100K limitation?
Please advice.
ThanksRobin
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi