iterate-ch / cyberduck

Cyberduck is a libre FTP, SFTP, WebDAV, Amazon S3, Backblaze B2, Microsoft Azure & OneDrive and OpenStack Swift file transfer client for Mac and Windows.
https://cyberduck.io/
GNU General Public License v3.0
3.33k stars 291 forks source link

Use Duck.exe CLI with variables in Batch Script #9759

Closed cyberduck closed 7 years ago

cyberduck commented 7 years ago

627800f created the issue

Is it possible to use Duck.exe with a batch file that submits variables into the command line string?

Using this works: "C:\Program Files (x86)\Cyberduck CLI\duck.exe" --upload spectralogic://aXR2:Yf5uGdto@192.168.0.114:8080/ITVtest/ \Warpspeed\raid0\ITV\CEN_Mountain_HD_4.10.2016.mxf -y

Using this does not: "C:\Program Files (x86)\Cyberduck CLI\duck.exe" --upload spectralogic://aXR2:Yf5uGdto@192.168.0.114:8080/ITVtest/ %1 -y

This case is in regards to working with ITV in the UK, which will require license purchase for this functionality across 12 different sites of the ITV News network.

Please confirm ASAP if use of variables at the command line is possible inside a Batch file. Thanks

cyberduck commented 7 years ago

@dkocher commented

Duplicate for #9757.