Download Manager
Handles resumable HTTP file downloads and archive extraction.
Supports:
HTTP Range-based resume for partially downloaded files.
Marker files (
.complete) for skipping already-finished downloads.ZIP archive extraction with Zip-Slip protection.
tar.gz extraction via external
tarcommand with directory-traversal safety check.Recursive executable search within extracted archive directories.
Parameters
log
Log function for progress and diagnostic output.
Functions
Link copied to clipboard
Downloads a file from url to targetFile with HTTP Range resume support.
Link copied to clipboard
Extracts a .tar.gz archive to a target directory via external tar command.
Link copied to clipboard
Extracts a ZIP archive to a target directory with Zip-Slip protection.
Link copied to clipboard
Finds an executable file recursively within a directory, matching exeName.