[Cyberduck-trac] [Cyberduck] #8722: How to download subfolder and contents and overwrite existing

Cyberduck trac at trac.cyberduck.io
Thu Apr 2 03:45:00 UTC 2015

#8722: How to download subfolder and contents and overwrite existing
    Reporter:  flyingL123  |      Owner:
        Type:  defect      |     Status:  new
    Priority:  normal      |  Milestone:
   Component:  cli         |    Version:  4.6.2
    Severity:  normal      |   Keywords:
Architecture:              |   Platform:  Mac OS X 10.10
 I'm trying to download an entire directory from a webdav server. The
 folder is located at:


 I want to download this folder and it's contents to the following
 directory on my local computer:


 Therefore, I cd into the /local directory, and run the following command:

 duck -u [USERNAME] -p [PASSWORD] --download
 davs://www.example.com/dav/content/js/ content/js/ --existing overwrite

 This works as expected. Then, if I run the same exact command again, to
 download the directory again, instead of overwriting the existing
 /local/content/js directory with the new content, it creates a new js
 directory within the existing one, leaving me with /local/content/js/js.

 Is this a bug or am I doing something wrong here? Thank you very much for
 any help you can provide.

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

More information about the Cyberduck-trac mailing list