Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Incomplete copy if app is terminated too early #113

Open
tripodsan opened this issue Feb 12, 2016 · 1 comment
Open

Incomplete copy if app is terminated too early #113

tripodsan opened this issue Feb 12, 2016 · 1 comment
Labels

Comments

@tripodsan
Copy link
Collaborator

The local sync copies the files directly to the destination directory. If the application is terminated before the sync is complete, it will not resume the next time the application starts - e.g. the application has no way to figure out that the copy was incomplete.

suggest:

  • copy to temporary sibling directory
  • after completion do a rename, rename, delete action:
    old.renameTo(trash); new.renameTo(old); trash.delete();
@macdonst
Copy link
Member

@tripodsan which platforms do you see the behaviour on?

@macdonst macdonst added the bug label Jun 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants