[Cyberduck-trac] [Cyberduck] #7724: Upon saving edited file, Cyberduck delete existing file even when it couldn't upload the new file
Cyberduck
trac at trac.cyberduck.io
Wed Jan 8 22:33:50 UTC 2014
#7724: Upon saving edited file, Cyberduck delete existing file even when it
couldn't upload the new file
---------------------------+-----------------------
Reporter: arencambre | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: core | Version: 4.4.3
Severity: critical | Keywords:
Architecture: Intel | Platform: Windows 8
---------------------------+-----------------------
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
1. Cyberduck uploads a copy of the file with a GUID attached to the end of
the filename.
1. Cyberduck deletes the original file from the server.
1. 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.
--
Ticket URL: <https://trac.cyberduck.io/ticket/7724>
Cyberduck <http://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list