Skip to content

Download file via AppleScript and sftp does not work #2244

Closed
@cyberduck

Description

@cyberduck

anonymous created the issue

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 "mirror.switch.ch" 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
/path_to_folder/file_to_download.jpg

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions