"Joe Cybernet" <no@no.ie> wrote in message
news:KImLb.4125 $HR.8436@news.i ndigo.ie...[color=blue]
> Does anybody know a function to send a header to a www SERVER?,[/color]
specifically[color=blue]
> the referer field?
>
>[/color]
This lets you retrieve anything from http://... a file. an image, etc...
that doesnt work very well. the resulting data includes the header and even
when I strip the header the file is still a invalid JPEG file. It must be
something to do with the chunked transfer. Ah well at least you tried
"Joe Cybernet" <no@no.ie> wrote in message
news:3IqLb.4148 $HR.8316@news.i ndigo.ie...[color=blue]
> that doesnt work very well. the resulting data includes the header and[/color]
even[color=blue]
> when I strip the header the file is still a invalid JPEG file. It must be
> something to do with the chunked transfer. Ah well at least you tried
>
>[/color]
Ok, so unchunk it, that piece of code was to get you started.
Why not pose the question:
Will somebody please write me the ENTIRE script to retieve via http were I
can.......,I do not want to code anything myself.
Strange that the server would chunk the data when chunked isn't specified in
Accept-Encoding. Try changing the User-Agent to something else. Perhaps the
server using that to determine whether to chunk or not.
Uzytkownik "Joe Cybernet" <no@no.ie> napisal w wiadomosci
news:3IqLb.4148 $HR.8316@news.i ndigo.ie...[color=blue]
> that doesnt work very well. the resulting data includes the header and[/color]
even[color=blue]
> when I strip the header the file is still a invalid JPEG file. It must be
> something to do with the chunked transfer. Ah well at least you tried
>
>[/color]
Comment