Skip to content

Include resumed files in transferred list, fixes issue #34 - #35

Open
rohangirishrao wants to merge 4 commits into
imcf:develfrom
rohangirishrao:fix-size-logging
Open

rohangirishrao wants to merge 4 commits into
imcf:develfrom
rohangirishrao:fix-size-logging

Conversation

@rohangirishrao

@rohangirishrao rohangirishrao commented Oct 15, 2026 •

Copy link
Copy Markdown

When a transfer is resumed after an interruption, RoboCopy reports the partially copied file as older , not New File. The if block in RsFileProcessed() only handled the new file, so the resumed file would never be added to the list of transferred files and its size was never recorded.

This led to issues with size logging, but also files being moved to ERROR due to last file being resumed, leading to transferredFiles being empty.

Adding processed.FileClass.ToLower().Equals("older") now also considers resumed transfers.

Note: this branch is on top e280e9b from PR #32 - merge that first! The changelog entry for this PR is also here, so merging PR#32 and then this should be fine.

This details the changes made to fix AtxTray and shutdown copy errors.
These are untested, and in our interruption case, the file only returns older
@rohangirishrao rohangirishrao added this to the v4.0.0 milestone Oct 15, 2026
@rohangirishrao rohangirishrao changed the title Include resumed files in transferred list, fixed issue #34 Include resumed files in transferred list, fixes issue #34 Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resumed transfer moved to ERROR when interrupted file is the only one left

1 participant