[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: http_url_post_xml - retrieve big PDF
Hello Scott,
indeed it helps :)
I've digged yesterday all the day into the ftpapi archives and came
upon the same solution:
- enable�http_xmlReturnPtr(*ON);
- passing the pointer returned �to the�base64_decode function (also
using your�base64_decode function);
Finally I have my PDF in IFS!� Thank you for all of this and four your support,
Radu
On Tue, Apr 28, 2015 at 8:41 AM, Scott Klement <[1]sk@xxxxxxxxxxxxxxxx>
wrote:
Hello Radu,
Please read this message, and tell me if it helps:
[2]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:
[3]http://www.scottklement.com/mailman/listinfo/ftpapi
--------------------------------------------------------------------
---
--------------------------------------------------------------------
---
This is the FTPAPI mailing list.� To unsubscribe, please go to:
[4]http://www.scottklement.com/mailman/listinfo/ftpapi
--------------------------------------------------------------------
---
--
R.
References
1. mailto:sk@xxxxxxxxxxxxxxxx
2. http://www.scottklement.com/archives/ftpapi/201008/msg00110.html
3. http://www.scottklement.com/mailman/listinfo/ftpapi
4. 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
-----------------------------------------------------------------------