C (135/304)

From:Fredrik S�derberg
Date:14 Aug 2000 at 21:03:43
Subject:Re: TCP/IP access & autoupdate

On 15-Aug-00, Charlie wrote:

> well I got that httpget code to compile and run. It downloads a file
> form my server ok. Only one problem. the header remains in the file,
> which is not too bad for html files but for lha files, it messes them
> up.

> Is there anyway I could get round this?

You could use BODY instead of GET (if I'm not mistaken) then you will not
get the header.

But the recommended way is to search the downloaded file for a \r\n\r\n
which means header end. And everything below that is the lha file.



|Fredrik "McDrill" S�derberg
|http://hem.passagen.se/mcdrill/
|"Life sucks, you can't live with it and you can't live without it"