Response.body and file content different? - WeOnlyDo Discussion board

Response.body and file content different? (wodHttpDLX)

by teddy1969, Thursday, September 22, 2005, 13:17 (7002 days ago)

Hi,

I only used your sample code (simple get):

- Download a binary file (a GIF file) by using GET

In the Done event I compare the Response.body with the saved temorary file... the filesize is equal, but the content is different!

The GIF file refered in the Response.Filename property is ok, but if I save the Response.Body to a binary file, the GIF is broken. There seems to be mixed text and binary data in it.

Is it correct that body content and filename content should be the same?

Thank you!

Teddy


Complete thread: