pub async fn download(
names: Vec<String>,
locs: Vec<String>,
proxy_addr: &Option<String>,
force: bool,
) -> Result<(), DataError>
Expand description
Downloads a dataset from one or more remote hosts.
§Arguments
names
: The names of the dataset to download.locs
: A name=loc keymap to specify locations for each dataset.proxy_addr
: The proxy address to proxy the transfer through, if any.force
: Forces a download, even if the dataset is already available.
§Returns
The method for accessing the new data file. Clearly, this means it also creates a new local entry for a dataset upon success.
§Errors
This function may error if the download failed for any reason.