foxes.utils.download_file(url, out_path, verbosity=1)[source]

Download a file from a URL with resume capability.

Parameters

url: str

The URL to download from

out_path: str

Path to the output file

verbosity: int

The verbosity level, 0 = silent

Returns

scs: int

Success indicator. 0 = File already there, 1 = Success, -1 = Failure