[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] http_parse_xml_stmf with Element with more than 65535 Byte



Hello Scott,

only searched for "65535", which gave me no results. Should search for "65535A".
Example: http://www.scottklement.com/archives/ftpapi/201706/msg00030.html

Thanks

Greetings


-----Ursprüngliche Nachricht-----
Von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] Im Auftrag von Scott Klement
Gesendet: Mittwoch, 21. Februar 2018 23:42
An: FTPAPI/HTTPAPI mailing list <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Betreff: Re: [Ftpapi] http_parse_xml_stmf with Element with more than 65535 Byte

Hello Jens,

It is possible to use larger elements with HTTPAPI's XML routines by using pointers.  To do that, you'll need to call the http_XmlReturnPtr() API to tell HTTPAPI to return your XML elements as pointers rather than alphanumeric fields.

There is a more detailed explanation here:

http://www.scottklement.com/archives/ftpapi/201008/msg00110.html

There may be other examples in the archives, as this feature has been available for a long time. You can search the archives here:

http://www.scottklement.com/archives/ftpapi/

Good luck


On 2/21/2018 2:13 PM, Ottersberg, Jens wrote:
>
> Hello,
>
> is there a chance to use http_parse_xml_stmf when I have a xml-file 
> with an element with more than 65535 bytes? The element contains a 
> JPEG encoded in base64.
>
> Greetings
>
>
>

--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi
-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi