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
The text was updated successfully, but these errors were encountered:
cyberduck commentedApr 4, 2008
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.
The text was updated successfully, but these errors were encountered: