in reply to Using Mechanize to download a zip file?

What does the file actually contain? Some servers could send different stuff based on the user-agent that queries for a resource, so you could be getting a simple page stating that your browser is not enabled to download stuff. Or you could possibly get some other type of error.

So, try to open it with a (possibly hexadecimal) editor and see if it is some error page like this.

Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Don't fool yourself.
  • Comment on Re: Using Mechanize to download a zip file?