[Cyberduck-trac] [Cyberduck] #7365: Edit File gives Download Error

Cyberduck trac at trac.cyberduck.ch
Tue Jul 23 08:57:32 UTC 2013


#7365: Edit File gives Download Error
-----------------------+---------------------------
    Reporter:  chrish  |      Owner:  dkocher
        Type:  defect  |     Status:  new
    Priority:  normal  |  Milestone:
   Component:  sftp    |    Version:  Nightly Build
    Severity:  normal  |   Keywords:
Architecture:  Intel   |   Platform:  Mac OS X 10.8
-----------------------+---------------------------
 In Version 4.4 (12175) over a SFTP connection:

 Double click (or via menu icon) fails to open file in editor
 (TextWrangler) with:

 '''Download failed /var/folders/....../remote_path/remote_file.ext (No
 such file or directory)'''

 SSH_FXP_OPEN SSH_FXP_HANDLE SSH_FXP_CLOSE SSH_FXP_STATUS

 This appears to occur for some files but not others. In contrast using
 "Quick look" and opening the file from there has no problems.

 On closer inspection this looks like an issue with the creation of the
 "remote_path" element of the local file path.

 For example:

 1) the server has /myfiles/mydir/'''a.txt''' and
 /myfiles/mydir/'''b.txt'''

 2) the local /var/folders/....../myfiles/mydir does not exist

 3) attempt to edit /myfiles/mydir/'''a.txt''' '''fails''' and
 /var/folders/....../myfiles/mydir '''not''' created

 4) Quick look /myfiles/mydir/'''a.txt succeeds''' and
 /var/folders/....../myfiles/mydir '''is''' created

 5) attempt to edit /myfiles/mydir/'''b.txt succeeds''' because(?)
 /var/folders/....../myfiles/mydir '''exists'''

 Note: the behaviour remains the same regardless of the ''defaults
 ch.sudo.cyberduck editor.odb.enable'' setting

-- 
Ticket URL: <https://trac.cyberduck.ch/ticket/7365>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.


More information about the Cyberduck-trac mailing list