CommandCross-platform

Sigil of Fetch

Download Large File with Resume Support

Downloads large files with the ability to resume interrupted transfers. If the connection drops, simply run the command again to continue where you left off.

curl -L -O -C - https://example.com/large-file.zip
wget -c https://example.com/large-file.zip

Usage Notes

  • -C - enables resume at the last byte position
  • -L follows redirects
  • -O saves with the remote filename
  • Add --progress-bar for a cleaner progress display
  • Server must support range requests for resume to work

Warnings

  • Warning:Not all servers support resume - the server must accept Range headers
  • Warning:If the file changed on the server, resume may corrupt the download

Related Scroll Ideas

  • • Download with bandwidth limit
  • • Mirror entire website with wget
  • • Download multiple files in parallel