Resume an interrupted download and keep the remote filename
Build a paste-ready command, then review its compatibility and effects before running it.
curl --fail --location --continue-at - --remote-name <url>Complete required fields to copy the generated command.
Compatibility
Linux + macOS + WindowsVerified for Linux, macOS, Windows using bash, zsh, powershell syntax.
Operational knowledgereview due 2027-01-19
Requirementscurlcurl must be installed and available on PATH.Network accessThe target must be reachable from the current environment.
Version supportcurl Current supported releasesVerified for linux, macos, windows using bash, zsh, powershell syntax; consult compatibility notes for platform-specific differences.
Expected signals** Resuming transfer from byte position 104857600Representative successful output; values vary with the selected target and system state.
Known errorscurl: command not foundcurl is missing or is not available on PATH.
Verifycurl --fail --location --continue-at - --remote-name {{url}}The output matches the expected target and exits without an error.Rollback noteNo universal automatic rollback is available. Capture the current state and use the tool-specific recovery procedure before applying changes.
Command breakdown
01curlCommandRuns the curl stage of this one-liner.
02--failOptionReturns a failure status when the server reports an FTP or HTTP error.
03--locationOptionConfigures curl with the --location option.
04--continue-atOptionConfigures curl with the --continue-at option.
05-OptionConfigures curl with the - option.
06--remote-nameOptionSaves the download using the filename from the remote URL.
07<url>ParameterA value supplied in the Fill parameters section.
This advanced community-curated one-liner combines several stages. Review every option and placeholder before running it.
Example input
curl --fail --location --continue-at - --remote-name https://example.com/archive.tar.gz
Example output
** Resuming transfer from byte position 104857600
100 512M 100 412M 0 0 18.4M 0 0:00:22
Illustrative output — exact values vary by system and data.
Official sources