This should work.  I have used this and have been able to actually toggle
between states of compression and uncompression successfully within the
program session.    I do this after the INetLibOpen but before the
SocketOpen (or INetLibURLOpen).  It seems to work fine.

Tom Zerucha wrote in message <9188@palm-dev-forum>...
>
>On Fri, Apr 21, 2000 at 02:35:20PM -0700, Fitzpatrick, Joe wrote:
>> You can tell the library to not use PQA compression with:
>>
>> DWord dw = ctpConvNone;
>> INetLibSettingSet(LibRef, IHandle, inetSettingConvAlgorithm, &dw,
>> sizeof(dw));
>>
>> LibRef and Ihandle you would get when you find and initialize the
>> library.
>
>I tried that but it didn't work.  Do you do it before the socket open?
>
>That call works, but I can't seem to get to the file.
>
>(Do you have a code fragment that would retrieve http://x.y.z/x.zip?)
>
>> However, this will run up the user's transmission costs and run down
>> their batteries.  If you are sending a lot of data, I'd use your own
>> compression (compress at your server, decompress in your Palm app)
>> because the PQA compression isn't particular effective.
>
>Since I am transferring zip files (trying to do so verbatim), and
>because I have omnisky unlimited (when not in the cradle or via POSE)
>it shouldn't be that much of a problem.
>
>Actually I should do a better job than PalmGear since they transfer
>uncompressed PQAs.
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to