[Cyberduck-trac] [Cyberduck] #9108: Recursive actions on folders are ineffective and slow with SFTP

Cyberduck trac at trac.cyberduck.io
Sun Nov 8 15:59:27 UTC 2015


#9108: Recursive actions on folders are ineffective and slow with SFTP
-------------------------+----------------------------------
    Reporter:  Coder256  |      Owner:  dkocher
        Type:  defect    |     Status:  new
    Priority:  high      |  Milestone:
   Component:  sftp      |    Version:  4.7.3
    Severity:  major     |   Keywords:  recursive folder bug
Architecture:  Intel     |   Platform:  Mac OS X 10.10
-------------------------+----------------------------------
 Actions that are taken on folders that are set to recurse are ineffective
 using SFTP. For example, changing permissions or deleting folders take
 forever. This is because, looking at the logs, Cyberduck is doing this one
 file at a time. Here is the log for deleting a folder named "test" with
 four files inside ("foo", "bar", "baz", and "qux"):
 {{{
 OPENDIR
 READDIR
 READDIR
 CLOSE
 REMOVE
 REMOVE
 REMOVE
 REMOVE
 RMDIR
 OPENDIR
 READDIR
 READDIR
 }}}
 And on the bottom of the window, the status shows it deleting every file
 individually.

 SFTP seems unable to remove the directory and all its files (even when run
 from the command line), but what does often work is SSH'ing in to  the
 server and then running:
 {{{
 rm -rf <directory>
 }}}
 Or, for permissions:
 {{{
 chmod -R <permission> <directory>
 }}}
 This doesn't always work (it is OS-dependent), but it should be presented
 to the user as an option.

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


More information about the Cyberduck-trac mailing list