<?phpif(!@copy("http://someserver.com/somefile.zip","./somefile.zip")){$errors= error_get_last();echo "COPY ERROR: ".$errors["type"];echo "<br /> ".$errors["message"];} else {echo "File copied from remote!";}?>