Using Cyberduck CLI to copy from local Windows to Linux

878 views
Skip to first unread message

Pat Decker

unread,
Mar 2, 2016, 10:44:51 PM3/2/16
to Cyberduck
I'm trying to copy a directory recursively from a local Windows computer to a remote Linux computer using Cyberduck CLI. The syntax might be the problem or maybe Cyberduck isn't a good fit.

Here is what I've tried:

duck --upload d:\download\iso\ sftp://pde...@192.168.63.155/srv/iso/

It replies with:

Missing path in URI d:\download\iso\
Try 'duck --help' for more options.

All the help examples use ftp, sftp, dav, s3, or something for both the source and the target. The source in my case are files in a local directory. How would I specify that?

Kevin LeClair

unread,
May 17, 2017, 2:04:01 PM5/17/17
to Cyberduck
Did you ever find a solution or workaround for this?  I am having the same issue.  Thing is driving me nuts.  No problem with download option but uploading is just not working from local file system to S3.  

Joris Dirks

unread,
Oct 10, 2017, 1:14:40 PM10/10/17
to Cyberduck


On Thursday, March 3, 2016 at 4:44:51 AM UTC+1, Pat Decker wrote:
I'm trying to copy a directory recursively from a local Windows computer to a remote Linux computer using Cyberduck CLI. The syntax might be the problem or maybe Cyberduck isn't a good fit.

Here is what I've tried:

duck --upload d:\download\iso\ sftp://pde...@192.168.63.155/srv/iso/

For posterities sake, my resolution:
I believe you need to reverse target and source (and possibly ommit the trailing backslash).
According to the help:
    "--upload <url> <file>                 Upload file or folder recursively"
With some fancy stuff added (like versbosity, preserving, and first comparing files) that would make your command:
duck.exe -vPe compare --upload sftp://pde...@192.168.63.155/srv/iso/ d:\download\iso

Reply all
Reply to author
Forward
0 new messages