[Mapserver-users] Re: More info on strange mapserv - mode=map behavior
Norman Vine
nhv at cape.com
Wed Jul 14 02:13:31 PDT 2004
Daniele Margotti writes:
> Now, the question is: WHY after exactly 4096 bytes (since this is the position - in both files -
> where I did found the strange string) mapserver puts the string "Content-type... and so on"?
> Or is it perhaps the web server?
< WAG>
This suspicously sounds as if this is being generated on a Windows
machine and that the file is opened in text not binary mode.
ie fopen(outfile,'w') needs to be fopen(outfile,'wb')
</WAG>
Norman
More information about the MapServer-users
mailing list