Skip to main content

download_file

Function download_file 

Source
pub fn download_file(url: &str, dest: &Path) -> Result<(), String>
Expand description

Download a file from url to dest, showing progress on the terminal.

Overwrites dest if it exists. Creates parent directories.