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

Upon saving edited file, existing file gets deleted even when it couldn't upload the new file #7724

Closed
cyberduck opened this issue Jan 8, 2014 · 1 comment
Assignees
Labels
bug fixed ftp FTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

144ef2a created the issue

It appears that when you edit a file by hitting Edit in Cyberduck, then save a new copy of that file in the editor, the following happens:

  1. Cyberduck detects a change to the file
  2. Cyberduck uploads a copy of the file with a GUID attached to the end of the filename.
  3. Cyberduck deletes the original file from the server.
  4. Cyberduck renames the version with the GUID back to the original name by removing that GUID.

I had a situation today on an IIS 8 server where, due to a problem with SSL configuration on FTPS (FTP+SSL), file uploads did not work. That is not the issue; the issue is even though the file uploads did not work, Cyberduck still proceeds with the edit change process by deleting the file and then renaming--oops, there's no file to rename! End result is that if you edit a file and then save it, it got deleted off the server (!).

Attached is a screenshot of the log drawer where you can see that Cyberduck got a 550 error. Cyberduck should have stopped IMMEDIATELY upon seeing the 550 error and warn the user! Unfortunately, Cyberduck did not stop, and it did not report anything to the user. If the log drawer was not opened, the only way I know something happened is that the file went missing.


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 19f8789.

@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.
Labels
bug fixed ftp FTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants