[Cyberduck-trac] [Cyberduck] #7310: Edited file not uploaded after save

Cyberduck trac at cyberduck.io
Fri Aug 7 08:30:18 UTC 2020

#7310: Edited file not uploaded after save
 Reporter:  timsk          |         Owner:  dkocher
     Type:  defect         |        Status:  closed
 Priority:  normal         |     Milestone:  8.0
Component:  core           |       Version:  7.4.0
 Severity:  normal         |    Resolution:  fixed
 Keywords:  editor upload  |  Architecture:  Intel
 Platform:  macOS 10.15    |

Comment (by AdditionalPylons):

 I have the exact same problem. I am using OS X Catalina 10.15.5, latest
 Cyberduck 7.4.1 (33065) and BBEdit 13.1.3 (414064, 64-bit, sandboxed).
 The only possible reason I can think of that caused it for me is that I
 had Cyberduck and BBEdit running, and then BBEdit checked for updates and
 asked to install the latest version. This moved my BBEdit application to
 the Trash, creating the new one in the proper Applications directory.
 Cyberduck however from then downloads the temporary file to the Trash
 folder. Perhaps this causes a problem?

 To illustrate with an example:
 If my server (I connect over SFTP/SSH if that matters) contains a file
 '''index.php''' which I am trying to edit using by pressing cmd-K, then a
 temporary file '''index.php 10-08-46-833.php''' is created in the Trash
 Perhaps Cyberduck uses the location of the BBEdit app, and maybe there are
 some permission issues when the temporary file is created in the ~/Trash
 folder? Or perhaps there is a system feature that is there to make sure
 that files with identical names are not overwritten when moved to the
 Trash folder, and that the reason why it is renamed that there is already
 a file index.php in the Trash from previous edits?

 Now after closing both Cyberduck and BBEdit and opening again, it seems
 when I press cmd-K to edit with BBEdit, the file is instead downloaded to
 ''/private/var/folder/05/zmdr_...../T/0d02fd....../'' followed by the path
 on the server. (The dots here represent alphanumerical strings with some
 dashes in between, I guess produced by some checksum calculation or
 generated randomly.)
 Saving changes then correctly uploads to the server.

 There is also never a problem if I choose to open with TextEdit instead.
 Then, correctly, the name of the file that TextEdit opens is index.php
 (downloaded to the same ''/private/var/folder/05/....''. path as above),
 and the file is correctly uploaded after I save the edits.

 TL;DR: Try quitting both BBEdit and Cyberduck and open them again.

 Hope this helps!

Ticket URL: <https://trac.cyberduck.io/ticket/7310#comment:7>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows

More information about the Cyberduck-trac mailing list