Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
download: now check tempfiles more carefully.
Now that gdown handles fully transferred files properly, by ignoring them, the tempfile finder loop should only select files ending with the right suffix (currently “(random).part”). This avoids common situations where gdown finds the target file itself, then tries to update it with a zero-byte partial transfer in “--continue” mode. Requiring a particular suffix also helps avoid a possible source of file corruption when folders contain a lot of similarly named files.
- Loading branch information