Try setting the library for no compression:

// Turn off compression
DWord dw;
dw = ctpConvNone;
INetLibSettingSet(LibRef, IHandle, inetSettingConvAlgorithm, &dw,
sizeof(dw));

Another library setting to watch out for is inetSettingMaxRspSize -
otherwise your binary file might get truncated.

Good Luck,
-jjf


-----Original Message-----
From: Tom Zerucha [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 13, 2000 1:27 PM
To: Palm Developer Forum
Subject: INetLib - how to set socket for no compression...


I am trying to pull down a binary file.  Do I need the content HTTP
header from the server to say something other than text/plain (right
now I get palm compressed text).

I am using the INetSocketSet call to try to turn compression off, but
it returns an error.

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

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

Reply via email to