Ticket #125 (assigned defect)

Opened 19 months ago

Last modified 15 months ago

Copy stop bug - risk

Reported by: bstojanovic@… Owned by: nicolas@…
Priority: high Milestone: 0.8.5
Component: Filesystem > Other Version: 0.8.3
Severity: major Keywords:
Cc: wootini@… Operating System: unspecified
Java version: unspecified

Description (last modified by Nicolas) (diff)

Hello,

I noticed that If I while copying press STOP, partially copied file stays on destination instead being deleted (or prompt whether to keep partially copied file). So when I start another copy operation with skip all or overwrite all older feature, operation skips overwriting partially copied file so it stays partially copied! That leads to unintentional lost data...

In Total Commander partially copied file is being deleted if copying is canceled.

Change History

Changed 19 months ago by maxence@…

  • status changed from new to assigned

Hi,

Thanks for the bug report. I understand the scenario you describe and how it can result in unwanted results.

Deleting partially copied files when aborting a transfer would however have an unpleasant side-effect: it would prevent large file transfers from being resumed, which I for one find very handy.

To prevent this case from ever happening, we could let files be skipped silently only if their size match in the source and destination and warn the user when this is not the case. But I'm not really sure this is the right approach...

We could also have an option that controls whether or not to delete partially copied files. I'm too keen on adding options, unless there isn't a better solution.

Do you have any other idea ?

Changed 18 months ago by wootini@…

  • cc wootini@… added

I just wanted to say I support the 'delete on abort' solution! The current behaviour has been confusing me quite a lot as there is no easy way to resume copying a large number of files.

Maybe you could add a checkbox to keep the partially copied file in the 'advanced' bit with the speed graph.

Changed 15 months ago by Nicolas

  • description modified (diff)
  • milestone set to 0.8.4

Changed 15 months ago by Nicolas

  • component changed from Ant build to Filesystem > Other
Note: See TracTickets for help on using tickets.