preliminary http status check function
ala_download_to_file renamed to download_to_file