Cyberduck Mountain Duck CLI

#2244 closed defect (fixed)

Download file via AppleScript and sftp does not work

Reported by: anonymous Owned by: dkocher
Priority: normal Milestone: 3.0.2
Component: applescript Version: 3.0.1
Severity: normal Keywords: Applescript, sftp, Download
Cc: Architecture:

Description (last modified by dkocher)

I'm using:

CyberDuck Version 3.0.1 (3999) Mac OS X 10.5.3 (Intel) MacBook Pro 2.16 Ghz Intel Core Duo

I modified the sample download script to connect to a server using the sftp protocol on a specific port (in this case 2210) and then switched to a particular folder on the server. The only two lines I modified were the following:

connect to "" with protocol "ftp" as user "anonymous" with initial folder "/mirror/" change folder to "apache/dist/spamassassin/source"

With the modifications, the connection to the sftp server and change folder actions work as expected. However, "download item theFile" results in the following error:

The last action could not be completed due to the following error:

SSH Error: Listing directory failed

A reference was made to a file which does not exist.

For some reason, it appears that Cyberduck is attempting a list directory action on the file to download, rather than downloading it.

Change History (3)

comment:1 Changed on Jun 25, 2008 at 10:06:17 AM by anonymous

  • Keywords sftp added; SSH removed
  • Summary changed from Download file via AppleScript and SSH does not work to Download file via AppleScript and sftp does not work

comment:2 Changed on Jul 14, 2008 at 7:09:39 PM by dkocher

  • Component changed from core to applescript
  • Description modified (diff)

comment:3 Changed on Jul 14, 2008 at 7:42:33 PM by dkocher

  • Resolution set to fixed
  • Status changed from new to closed

In r4092.

Note: See TracTickets for help on using tickets.