[Cyberduck-trac] [Cyberduck] #8868: running "Duck" command line tool from Applescript

Cyberduck trac at trac.cyberduck.io
Tue Jun 9 09:47:11 UTC 2015


#8868: running "Duck" command line tool from Applescript
---------------------+-------------------------
 Reporter:  chris_g  |         Owner:  dkocher
     Type:  defect   |        Status:  assigned
 Priority:  normal   |     Milestone:
Component:  cli      |       Version:  4.7
 Severity:  normal   |    Resolution:
 Keywords:           |  Architecture:
 Platform:           |
---------------------+-------------------------
Changes (by dkocher):

 * owner:   => dkocher
 * status:  new => assigned
 * component:  core => cli


Old description:

> Hi, I'm trying to upload files to RackSpace CDN, and can do so using the
> command line "Duck" tool in my Mac's Terminal, but when I try to run the
> Applescript below, the system isn't able to see "Duck." Not sure why.
>
>         do shell script "duck --username <username> --upload
> rackspace://Downloads/Client/test_upload.mp3 ~/Home/test_upload.mp3"
>

> Result:
> error "sh: duck: command not found" number 127

New description:

 Hi, I'm trying to upload files to RackSpace CDN, and can do so using the
 command line "Duck" tool in my Mac's Terminal, but when I try to run the
 Applescript below, the system isn't able to see "Duck." Not sure why.


 {{{
         do shell script "duck --username <username> --upload
 rackspace://Downloads/Client/test_upload.mp3 ~/Home/test_upload.mp3"

 }}}


 Result:
 error "sh: duck: command not found" number 127

--

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


More information about the Cyberduck-trac mailing list