[Cyberduck-trac] [Cyberduck] #9757: Use Duck.exe CLI with variables in Batch Script

Cyberduck trac at trac.cyberduck.io
Mon Nov 14 10:02:24 UTC 2016


#9757: Use Duck.exe CLI with variables in Batch Script
------------------------+----------------------
 Reporter:  Telestream  |         Owner:  yla
     Type:  defect      |        Status:  new
 Priority:  normal      |     Milestone:
Component:  cli         |       Version:  5.2.2
 Severity:  normal      |    Resolution:
 Keywords:              |  Architecture:  Intel
 Platform:  Windows 10  |
------------------------+----------------------
Description changed by Telestream:

Old description:

> Hello,
>
> I would like to drive the Duck.exe CLI with numerous variables inside a
> Batch Script. My example below with %1 doesn't work.
>
> "C:\Program Files (x86)\Cyberduck CLI\duck.exe" --upload
> spectralogic://aXR2:Yf5uGdto@192.168.0.114:8080/ITVtest/ %1 -y
>
> This version without variable does work.
>
> "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
>

> Please can you confirm that duck.exe is useable with variables from the
> command line. If yes, is there any particular syntax I must use to add a
> variable inside my batch script?
>
> Many thanks
> Nick Soper
> Telestream

New description:

 Hello,

 I would like to drive the Duck.exe CLI with numerous variables inside a
 Batch Script. My example below with %1 doesn't work.

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

 This version without variable does work.

 "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


 Please can you confirm that duck.exe is useable with variables from the
 command line. If yes, is there any particular syntax I must use to add a
 variable inside my batch script?

 Many thanks

--

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


More information about the Cyberduck-trac mailing list