Checksums and the hash ladder
A successful upload does not prove the destination file matches the source. FileMigrata verifies every copy.
How verification works
- FileMigrata calculates a SHA-256 hash as the file leaves the source.
- It calculates a second SHA-256 hash as the file arrives at the destination.
- If the hashes match, the file is marked verified. If not, the transfer is retried.
Both hashes come from FileMigrata's own pipeline, not from the provider. This means the same check works on every provider, including those with no checksums. A truncated, reordered, or damaged file cannot produce a matching hash.
FileMigrata cannot get a signed receipt from the destination. Most providers return no checksum after an upload. Where a provider does publish a trusted checksum, FileMigrata compares against it on the next run, before copying. To confirm the destination kept what it received, run the job again.
Which destination checksums are trusted
Before copying, FileMigrata checks whether the destination already has the file. This requires a trusted checksum. FileMigrata accepts:
- A checksum the destination states explicitly, using MD5 or SHA-256.
- An ETag that the provider declares as MD5 and that is a plain 32-character hex string.
| Provider | Trusted checksum before copy? |
|---|---|
| Amazon S3 and S3-compatible | Yes, MD5 ETag for single-part uploads |
| Google Drive | Yes, MD5 |
| OpenStack Swift | Yes, MD5-based |
| Box | No (SHA-1 only) |
| Dropbox | No (proprietary content hash) |
| WebDAV | No (ETag is not a checksum) |
| OneDrive and SharePoint | No |
| Zoho WorkDrive | No (proprietary hash) |
| pCloud | No (proprietary hash) |
| FTP and SFTP | No checksum |
"No" is not a failure. FileMigrata copies the file, and the two-hash check still decides. However, a re-run cannot confirm these files from the destination side alone, so the job log records what was copied. See Incremental re-runs and hash-match skip.
Why an ETag is not always enough
An ETag labels a version of an object; it does not necessarily describe its contents. S3-style services use a real MD5 as the ETag only for single-part uploads. Multipart uploads add a suffix to the ETag. Some providers, including Cloudflare R2, use their own scheme. FileMigrata does not skip a file based on an ETag that only looks like a checksum. See R2, Azure Blob, and ETag traps.
When the hashes do not match
- FileMigrata retries the transfer.
- If a login or token expires, the job stops rather than using up retries, because every remaining file would fail the same way.
- Throttling is handled per provider. If a provider says how long to wait, FileMigrata waits that long.
- On Zoho WorkDrive, a rate-limited file returns to the queue without using an attempt.
- A file that fails eight times (by default) becomes a dead letter. It is listed for you, not reported as a success. The rest of the job continues. See Object states and dead letters.
Where data is held during transfer
FileMigrata reads from the source and writes to the destination in one pass. Nothing is staged on disk for verification or retries.
One exception: when Zoho WorkDrive is the destination and a file is 250 MB or smaller, FileMigrata holds the file in memory during upload. This lets it resend the file if Zoho rejects the upload because a file of the same name exists. Files over 250 MB are streamed and cannot be resent after a failure. Memory is released as soon as the file finishes.
What you should still do
- After the job, open a nested folder and a large file to confirm the content.
- If your cutover is contractual, ask sales about an independent file list.