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

Local file gets deleted when download-overwrite fails because online source is not available #3186

Closed
cyberduck opened this issue May 11, 2009 · 1 comment
Assignees
Milestone

Comments

@cyberduck
Copy link
Collaborator

Copprhead created the issue

Reproduction:

Log in to an FTP site. Upload a file from a local folder. Remove the remote file via other means (shell login at the server). Cyberduck naturally doesn't see this change without reloading. Now drag the remote file from Cyberduck window to the local folder in the finder. It will ask what you want to do because file exists. Choose overwrite. Local file then gets deleted but remote file cannot be downloaded because it doesn't exist on the server anymore.

Correct behaviour should be that the local file stays if the remote file cannot be downloaded, either by checking before deleting if the remote file really exists or by just renaming the local file and renaming it back if download fails.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 4870 for FTP, S3 and SFTP.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants