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 tellAny thoughts? Thanks in advance.