Resuming an Interrupted Download

movedat allows some interrupted downloads to be resumed from where they left off.  It does this by creating certain temporary files and checkpoints in the destination directory to keep track of the download's progress.

If you move or rename these ".TMP or ".CHK" files you will lose the ability to resume the download.

Interactive Resume

When no other options are specified and the terminal is interactive, movedat will prompt you to either resume, start over, or skip any download which is eligible to be resumed.  Selecting resume will continue from the point where the previous download attempt was interrupted.  Choosing to start over will discard the previous attempt and transfer the entire file.

Resuming a download should only be done if you are confident that neither the source file nor the partial destination file have been changed since the previous download attempt.  Resuming a download after a file has changed may result in corrupted data.

Automated Resume

The following options determine how movedat will respond to resumable downloads:

-r Resume interrupted downloads if possible.
-y Resume interrupted downloads if possible.
-O Always start over from the beginning, discarding any previous download attempts.
-c Partial downloads will be ignored and data will be written directly to the destination file.  This prevents the creation of ".TMP" and ".CHK" files, but if the transfer is interrupted, it will not be resumable.

If none of the options above is specified and either the terminal is not interactive or -q (Quiet) is enabled, then attempts to download when a partial download already exists will fail.

Non-Resumable Downloads

Streaming Folders, Object Handlers, and any downloads piped to stdout cannot be resumed.