Downloads
xxt://download/?path=%@&url=%@
Download a file from the specified URL. path is the saved filename, and url is the download URL.
-
Notes
- If
pathis not specified, the filename will be inferred from the target URL, or the last path component of the URL will be used. pathcan be absolute or relative. If relative, it is relative to the current directory in the app's file browser.
- If
-
QR dictionary
{
"event":"download",
"path":"[filename-to-save.lua]",
"url":"[download-url]"
}