i've created a script which aim is to copy a text file from a web server to another. Here is the code:

<BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
require LWP::UserAgent;
$ua = new LWP::UserAgent;

$request = new HTTP::Request('GET', 'http://www.hotmc.com/mag/news/ticker.nws');


print "Content-type: text/html\n\n";
print "&lt;html&gt;&lt;head&gt;&lt;title&gt;hotmc.&lt;/title&gt;";
print "all done";
print "&lt;/body&gt;&lt;/html&gt;\n";

When I run it, it saves the correct file, in the correct location, but ends with a "500" error. Does anyone know why?

Thanks in advance,
Simone Lippolis http://hs.hotmc.com/