[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: http_url_post_xml - retrieve big PDF
Hello Radu,
Please read this message, and tell me if it helps:
http://www.scottklement.com/archives/ftpapi/201008/msg00110.html
-SK
On 4/27/2015 12:41 AM, Radu Botescu wrote:
Hello,
I'm using http_url_post_xml to get documents from various carriers and
so far it was ok.
But now I have to retrieve a bigger file (base64 encoded PDF) � and my
program to decode is not working anymore because the length of the
variable � I retreive in� http_url_post_xml� is too small:
P Parse � � � � � B � � � � � � � � � � � � � � �
� � � � � � �
D Parse � � � � � PI � � � � � � � � � � � � � � �
� � � � � �
D � UserData � � � � � � � � � � � * � value � � � � �
� � � � �
D � depth � � � � � � � � � � � 10I 0 value � � � � �
� � � � �
D � name � � � � � � � � � � � 1024A � varying const � �
� � � �
D � path � � � � � � � � � � 24576A � varying const � �
� � � �
D � value � � � � � � � � � � 65535A � varying const � �
� � � �
D � attrs � � � � � � � � � � � � * � dim(32767) � � �
� � � �
D � � � � � � � � � � � � � � � � � � const
options(*varsize)�
� � � � � � � � � � � � � � � � � � � � � � � �
� � � � � � � �
I retreive 65535 but the real length is 121864 characters...
I saw that Scott K. recommended in a � post to use a pointer instead of
the value (which is a great ideea) but I'm not sure it is possible in
http_url_post_xml ...�
Shoud I replace http_url_post_xml � by something else ?�
Any ideea or example?�
Thank you in advance,
Radu
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------