Scripted download failing after recent update

The Cyberduck forums have moved to Google Groups, this forum is read only.
Locked
michaelg
Harmless
Posts: 1
Joined: Tue Dec 18, 2007 9:15 pm

Scripted download failing after recent update

Post by michaelg »

Can't really figure out what update, but started happening a few months ago. I was using this script to download an entire directory:

Code: Select all

tell application "Cyberduck"
	set theBrowser to (make new browser)
	with timeout of 300 seconds
		tell (theBrowser)
			set the encoding to "UTF-8"
			set show hidden to false
			connect to "XXX.XXX.XXX.XXX" with protocol "ftp" as user "xxxxxx"
			set theFile to "backups"
			download item theFile
			disconnect
		end tell
	end timeout
end tell
tell application "Cyberduck"
	quit
end tell
Was working fine for almost a year, but recently failing. The script activates C-duck and starts the download, but quits after just a few files. If I try to download the entire directory manually, it works just fine.

Any thoughts? Thanks in advance.
Locked