Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppleScript - waiting for finish copying in SFTP mode #1896

Closed
cyberduck opened this issue Apr 4, 2008 · 1 comment
Closed

AppleScript - waiting for finish copying in SFTP mode #1896

cyberduck opened this issue Apr 4, 2008 · 1 comment
Assignees
Milestone

Comments

@cyberduck
Copy link
Collaborator

a4f70d8 created the issue

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
@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 4770d88.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants