PHP's cURL library....
$ch = curl_init("http://s6.travian.nl/map.sql");
// assuming data is a subdirectory of the directory where script is located...
$fp = fopen("data/tmp.sql", "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0)...