Parallel when possible
IMD probes the remote server and switches to chunked range downloads when byte ranges and stable size are available.
Fast CLI downloader with parallel chunked downloads
IMD downloads a file from a direct URL, splits it into byte ranges, writes every chunk straight to its final offset, and resumes interrupted parallel downloads without restarting the whole file.
What the tool actually does
IMD probes the remote server and switches to chunked range downloads when byte ranges and stable size are available.
Interrupted parallel downloads continue from unfinished chunks using .imd.part and .imd.state sidecar files.
Each worker writes directly into the final byte position, validates Content-Range, and falls back to single stream when needed.
Core flow
Probe the URL for file size and byte-range support.
Split the file into ranges and assign each worker its own offset.
Persist chunk completion and resume unfinished work after interruption.