Function importer::utils::download[][src]

pub async fn download(config: &ImporterConfiguration, output: String, url: &str)

If the output file doesn’t already exist, downloads the URL into that location. Automatically uncompresses .zip and .gz files. Assumes a proper path is passed in (including data/).