Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File already exists error with sync #244

Open
cecilia-donnelly opened this issue Sep 7, 2023 · 1 comment
Open

File already exists error with sync #244

cecilia-donnelly opened this issue Sep 7, 2023 · 1 comment

Comments

@cecilia-donnelly
Copy link
Member

A user has reported that some files are erroring with Failed to copy: Update Create failed: sftp: "This file already exists on Permanent.org. Editing exiting files is not supported." when they sync their local to Permanent. Since they pass the --size-only and --sftp-set-modtime=false flags as suggested in #80, this shouldn't be happening.

@slifty
Copy link
Contributor

slifty commented Sep 12, 2023

@cecilia-donnelly one way this could be happening even with those flags are if the sizes are different

The difference in file size could be that (A) the file has been modified locally or (B) somehow the file was not uploaded properly in the initial sync.

A next debug step would be to have the user download the file in question from permanent and compare the permanent version with their local version.

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

No branches or pull requests

2 participants