Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Out of memory error using wwIPStuff on large files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00461693
Message ID:
00461834
Vues:
14
What tnBufferSize are you passing to HTTPGetEx()? I have not worked with this before, but from reading the docs, it looks like if you pass tnBufferSize = 0, the entire file will be read into the buffer.

>>Hi Nick,
>>
>>The reason is quite obvious to me: VFP string length limitation.
>>The work around is check for the len of tcBuffer and if it exceeds
>>the limit, set it to '' or something...
>
>After playing around with the debugger a bit more, I see that tcBuffer just keeps getting bigger and bigger as the whole file is read into it. Seeing this, my question is: why is httpgetex() reading the whole file into that one string if I'm supposed to grab the file chunk-by-chunk in onhttpbufferupdate() from lcCurrentChunk and piece it together myself? I see no use for tcBuffer at all unless lcCurrentChunk in onhttpbufferupdate() is substringed from it or something... I don't want to waste a bunch of time digging through that class to figure this out... Has anyone else worked with this class much? Where's the author when you really, really need him? *grin*
>
>
>Nadya- The tag worked fine when I previewed it on my computer, and your reply still shows up correctly as well. What do you mean by it not being supported by UT? It's HTML, and more of a browser issue than anything to do with UT directly. Does it mess up the page for you or something?
Chris McCandless
Red Sky Software
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform