Cyberduck Mountain Duck CLI

#1896 closed defect (fixed)

AppleScript - waiting for finish copying in SFTP mode

Reported by: czechxteam Owned by: dkocher
Priority: high Milestone: 3.0
Component: applescript Version: 2.8.4
Severity: major Keywords:
Cc: Architecture:
Platform:

Description

See code. If I need remove "Copy delay" copied file will be damaged (not complete). If I use FTP instead of SFTP "Copy delay" isn't necessary.

tell application "Cyberduck"
	set MacPPCBrowser to (make new browser)
	tell (MacPPCBrowser)
		set encoding to "UTF-8"
		connect to MacPPCIP with protocol "sftp" as user MacPPCUsername with password MacPPCPassword
		change folder to "/Volumes/DataG5/fe/tmp_install"
		upload item (POSIX path of (PathToActualInstallPackage & ActualInstallPackage))
		delay 100 -- Copy delay
	end tell
	disconnect MacPPCBrowser
	close MacPPCBrowser
	end tell

Change History (2)

comment:1 Changed on Apr 19, 2008 at 9:11:59 PM by dkocher

  • Status changed from new to assigned

comment:2 Changed on Apr 21, 2008 at 10:08:38 PM by dkocher

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

In r3826.

Note: See TracTickets for help on using tickets.