Function abstio::download::download_to_file [−][src]
pub async fn download_to_file<I1: AsRef<str>, I2: AsRef<str>>(
url: I1,
path: I2
) -> Result<()>
Download a file from a URL. This must be called with a tokio runtime somewhere. Progress will be printed to STDOUT.