[Cyberduck-trac] [Cyberduck] #7838: Editing a file, downloading a copy, then saving the edit does not upload the edited file.

Cyberduck trac at trac.cyberduck.io
Thu Mar 6 10:40:40 UTC 2014


#7838: Editing a file, downloading a copy, then saving the edit does not upload
the edited file.
---------------------------+----------------------
 Reporter:  ccsgraphic     |         Owner:
     Type:  defect         |        Status:  new
 Priority:  normal         |     Milestone:
Component:  core           |       Version:  4.4.3
 Severity:  normal         |    Resolution:
 Keywords:  unchanged,     |  Architecture:  Intel
 Platform:  Mac OS X 10.6  |
---------------------------+----------------------

Old description:

> Downloading a file after opening it for edit in an external editor breaks
> the link to edited data when saving.
>
> Steps to reproduce.
>
> 1. Open a file for edit in an external editor.
> 2. Download a copy of the file to another location.
> 3. Edit file in external editor.
> 4. Save file in external editor.
>
> Though CyberDuck receives the save command from the external editor, it
> does not upload the file previously downloaded for editing. Instead, it
> uploads the file from its last download location.
>

> == Download file for edit, download file to location ==
>
> {{{
> SSH_FXP_OPEN
> SSH_FXP_HANDLE
> SSH_FXP_READ
> SSH_FXP_DATA
> SSH_FXP_CLOSE
> SSH_FXP_STATUS
> SSH_FXP_STAT
> SSH_FXP_ATTRS
> SSH_FXP_STAT
> SSH_FXP_ATTRS
> SSH_FXP_OPEN
> SSH_FXP_HANDLE
> SSH_FXP_WRITE
> SSH_FXP_STATUS
> SSH_FXP_CLOSE
> SSH_FXP_STATUS
> SSH_FXP_STAT
> SSH_FXP_ATTRS
> SSH_FXP_REMOVE
> SSH_FXP_STATUS
> SSH_FXP_RENAME
> SSH_FXP_STATUS
> SSH_FXP_SETSTAT
> SSH_FXP_STATUS
> }}}
>

> == Save edited file ==
>
> {{{
> SSH_FXP_OPEN
> SSH_FXP_HANDLE
> SSH_FXP_READ
> SSH_FXP_DATA
> SSH_FXP_CLOSE
> SSH_FXP_STATUS
> SSH_FXP_STAT
> SSH_FXP_ATTRS
> SSH_FXP_STAT
> SSH_FXP_ATTRS
> SSH_FXP_OPEN
> SSH_FXP_HANDLE
> SSH_FXP_WRITE
> SSH_FXP_STATUS
> SSH_FXP_CLOSE
> SSH_FXP_STATUS
> SSH_FXP_STAT
> SSH_FXP_ATTRS
> SSH_FXP_REMOVE
> SSH_FXP_STATUS
> SSH_FXP_RENAME
> SSH_FXP_STATUS
> SSH_FXP_SETSTAT
> SSH_FXP_STATUS
> }}}
>

> External Editor: TextWrangler 3.5.3

New description:

 Downloading a file after opening it for edit in an external editor breaks
 the link to edited data when saving.

 Steps to reproduce.

 1. Open a file for edit in an external editor.
 2. Download a copy of the file to another location.
 3. Edit file in external editor.
 4. Save file in external editor.

 Though CyberDuck receives the save command from the external editor, it
 does not upload the file previously downloaded for editing. Instead, it
 uploads the file from its last download location.

 Workaround: Download a copy of the file before editing in place with an
 external editor.


 == Download file for edit, download file to location ==

 {{{
 SSH_FXP_OPEN
 SSH_FXP_HANDLE
 SSH_FXP_READ
 SSH_FXP_DATA
 SSH_FXP_CLOSE
 SSH_FXP_STATUS
 SSH_FXP_STAT
 SSH_FXP_ATTRS
 SSH_FXP_STAT
 SSH_FXP_ATTRS
 SSH_FXP_OPEN
 SSH_FXP_HANDLE
 SSH_FXP_WRITE
 SSH_FXP_STATUS
 SSH_FXP_CLOSE
 SSH_FXP_STATUS
 SSH_FXP_STAT
 SSH_FXP_ATTRS
 SSH_FXP_REMOVE
 SSH_FXP_STATUS
 SSH_FXP_RENAME
 SSH_FXP_STATUS
 SSH_FXP_SETSTAT
 SSH_FXP_STATUS
 }}}


 == Save edited file ==

 {{{
 SSH_FXP_OPEN
 SSH_FXP_HANDLE
 SSH_FXP_READ
 SSH_FXP_DATA
 SSH_FXP_CLOSE
 SSH_FXP_STATUS
 SSH_FXP_STAT
 SSH_FXP_ATTRS
 SSH_FXP_STAT
 SSH_FXP_ATTRS
 SSH_FXP_OPEN
 SSH_FXP_HANDLE
 SSH_FXP_WRITE
 SSH_FXP_STATUS
 SSH_FXP_CLOSE
 SSH_FXP_STATUS
 SSH_FXP_STAT
 SSH_FXP_ATTRS
 SSH_FXP_REMOVE
 SSH_FXP_STATUS
 SSH_FXP_RENAME
 SSH_FXP_STATUS
 SSH_FXP_SETSTAT
 SSH_FXP_STATUS
 }}}


 External Editor: TextWrangler 3.5.3

--

Comment (by ccsgraphic):

 Replying to [ticket:7838 ccsgraphic]:

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


More information about the Cyberduck-trac mailing list