pub async fn DownloadFile( url: String, destination: String, ) -> Result<DownloadResultDTO, String>
Command: Download File
Downloads any file from a URL. Delegates to Air’s download service.
app_handle
url
destination
DownloadResultDTO with download status
DownloadResultDTO