Edited file not uploaded after save #7310
I'm having exactly the same problem as described in issue #5376, but that was apparently resolved 3 years ago.
I connect to an FTP server; I hit cmd-K to edit a file; the file opens up in my text editor; I edit the file and save it; and sometimes it's uploaded back up to the server immediately after saving. Sometimes it doesn't. Today, I've just attempted the same edit four times in a row, and it won't upload.
It's not difficult to work around the problem — drag the file from Cyberduck to Finder, open/edit/save the file, then drag it back again — but it's more hassle than it should be.
I was using 4.2.1, and have just updated it to 4.3.1, but the issue is still present. I'm on Mac OS X 10.7.5 and my editor is Emacs 24.1.
The text was updated successfully, but these errors were encountered:
Replying to [7310 timsk]:
I have been a licensed user of Cyberduck for years and have experienced this issue for years. I am experiencing it again. Please don't dismiss this issue. It is unresolved. It needs to be fully resolved.
Open connection to the remote server. From the file browser, double-click on a file to edit it. It opens as expected in the default browser. Make a change and save... if this is done within a minute or two, the file saves locally and uploads as expected. But if more than a few minutes elapse from the time of download, the save will happen locally and the upload WILL NOT TAKE PLACE. If I do not pay careful attention to the notification pop-up associated with the upload, or more specifically the LACK of pop-up due to the non-uploading of my file, I will lose track of changes not actually made to the file on the remote server. This leads to all sorts of issues, not just inconvenience.
IF I catch the fact that the upload did not happen, I select-all in the editor window and close the editor's buffer, double-click again on the file in Cyberduck to re-open the editor window, select-all, delete, paste, save, and watch for the upload confirmation.
I had this exact problem and fixed it:
I use vim (Mac OS X 10.15) and with vim it would only upload the first time.
Just try to find a way to disable these temporary files.
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).
To illustrate with an example:
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.)
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!