# download_file

Download a file to a specific path (no auto-extract).

```rhai
download_file(url: &str, dest: &str, min_size_kb: i64) -> String
```

## Examples

```rhai
download_file("https://example.com/script.sh", "/tmp/script.sh", 0)?;
chmod_exec("/tmp/script.sh")?;
```

```rhai
download_file("https://example.com/data.zip", "/tmp/data.zip", 100)?;
```
