def downloadURL(url):
urlretrieve(url, os.path.join(c.raw_data, path_temp_bviewfile))<EOL>os.rename(os.path.join(c.raw_data, path_temp_bviewfile), c.path_bviewfile)<EOL>
Inconditianilly download the URL in a temporary directory.
When finished, the file is moved in the real directory.
Like this an other process will not attempt to extract an inclomplete file.