Skip to main content

download_url

Function download_url 

Source
pub fn download_url(url: &str) -> i32
Expand description

Download a remote URL as a file in the host Downloads directory.

The download runs in the background with progress tracking. Returns 0 on success, -1 on failure.