Posted on 2008-05-27 13:55:42-07 by tmellnik
get binary instead of text

I have a simple script to download a set of text files using www-mechanize get().

On an Win NT 4 machine, perl 5.8.8, www-mechanize 1.2, the download works.

On a Win Server 2003 machine, perl 5.8.8., www-mechanize 1.34 the files downloaded are all binary characters. I can paste URL into a browser on this machine & see the text.

Would appreciate advice or hints about how to get text. Thanks.

--

Ted Mellnik

tmellnik@charlotteobserver.com

Direct Responses: 7945 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.