Retry when a remote source file changed

Replace a mutable source URL after Dosya detects changed length or validator data, then start a fresh job and verify the new file from zero.

Last reviewed

Dosya probes a source before transfer and expects the same object until completion. A range job sends the strong ETag through If-Range; a 200 response where 206 was expected proves the validator no longer matches. Stream mode also compares the received byte count with the probed size.

Four-step workflow map for Retry when a remote source file changed: Record expected size and current progress, keep the failed row as evidence. Obtain a URL for one immutable revision, avoid a mutable latest-file link. Start a fresh transfer from byte zero, changed-source partials cannot resume. Compare stored length with the final source, clean up only after a byte match.
This map follows retry when a remote source file changed from “Record expected size and current progress, keep the failed row as evidence.” through “Obtain a URL for one immutable revision, avoid a mutable latest-file link.” and “Start a fresh transfer from byte zero, changed-source partials cannot resume.”, ending with “Compare stored length with the final source, clean up only after a byte match.”. Open full-size screenshot.

Before you start

Treat File changed on the source server as terminal. Dosya cleans up the partial object and does not continue by mixing bytes from two revisions.

A signed URL can also become mutable when its provider regenerates content behind the same address. Prefer an immutable version URL or a fresh export whose contents will remain unchanged for the whole transfer.

Steps

  1. Record the failed row’s filename, expected total, and progress, then leave it visible while checking the origin.
  2. Ask the source owner whether the object was replaced, regenerated, truncated, or still being uploaded after the Dosya job began.
  3. Finish producing the source file and obtain a new public HTTPS URL tied to the final version rather than reusing a mutable endpoint.
  4. Test that URL privately and confirm its reported total stays constant across two requests; a range-capable source should return 206 with a total and strong ETag.
  5. Start a new Remote download job to the intended folder; the failed row has no restart-from-partial control.
  6. Require Done, compare the stored byte size with the final source, and only then use the terminal X to remove the old row.
Reference for “Retry when a remote source file changed”: Dosya Remote Downloads overview page.
Reference for “Retry when a remote source file changed”: Dosya Remote Downloads overview page. Open full-size screenshot.

Expected result

The new transfer starts from byte zero and completes entirely from one source revision. No partial bytes from the changed job become a Dosya file.

If the provider continuously rewrites the same URL, download the finished object locally and upload it through Dosya instead. A new remote job against an unstable address can reproduce the same terminal error.

Was this helpful?

Loading helpfulness results…

Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.

Questions and replies

Ask about the steps in this guide. Questions are reviewed before publication.

Keep account details, credentials and private files out of public questions. Use private support for those.

Loading questions…

    Sign in to your Dosya account to ask a question.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.