[Cyberduck-trac] [Cyberduck] #1896: AppleScript - waiting for finish copying in SFTP mode
Cyberduck
trac at trac.cyberduck.ch
Fri Apr 4 13:45:12 CEST 2008
#1896: AppleScript - waiting for finish copying in SFTP mode
-------------------------+--------------------------------------------------
Reporter: czechxteam | Owner: dkocher
Type: defect | Status: new
Priority: high | Milestone: 2.8.5
Component: applescript | Version: 2.8.4
Severity: major | Keywords:
-------------------------+--------------------------------------------------
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.[[BR]]
{{{
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
}}}
--
Ticket URL: <http://trac.cyberduck.ch/ticket/1896>
Cyberduck <http://cyberduck.ch>
FTP and SFTP Browser for Mac OS X.
More information about the Cyberduck-trac
mailing list