Skip to content

Use reliable SDK downloads - #371

Merged
AndreyVMarkelov merged 2 commits into
dropbox:masterfrom
AndreyVMarkelov:andreymarkelov/reliable-downloads
Aug 17, 2026
Merged

Use reliable SDK downloads#371
AndreyVMarkelov merged 2 commits into
dropbox:masterfrom
AndreyVMarkelov:andreymarkelov/reliable-downloads

Conversation

@AndreyVMarkelov

@AndreyVMarkelov AndreyVMarkelov commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adopt the Go SDK’s filetransfer downloader for normal dbxcli get file downloads.
  • This fixes silent truncated downloads such as #214, where a large downloaded zip could be incomplete but still appear successful.

Changes

  • Use resumable ranged downloads with transient-failure retries.
  • Validate downloaded size and Dropbox content_hash before replacing the destination.
  • Preserve atomic destination writes and symlink resolution.
  • Keep export-only files on the existing export path.
  • Map SDK progress events to the current terminal progress output.
  • Update the body-read regression test to verify resume via Range.
  • Extend the opt-in E2E script with byte-for-byte disk and stdout download checks.
  • Update CI workflows to Go 1.25.13.

@AndreyVMarkelov
AndreyVMarkelov force-pushed the andreymarkelov/reliable-downloads branch from da3516f to 7eaecd9 Compare August 17, 2026 23:40
@AndreyVMarkelov
AndreyVMarkelov merged commit 6a5d148 into dropbox:master Aug 17, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant