I want to make backup of remote ftp folder to local folder. In Automator, I had an applescript that mount my remote ftp:
on run {input, parameters}
#Connect to server
tell application "Finder"
mount volume "ftp://server_name/path_to_folder/img" as user name "user_name" with password "password"
end tell
return input
end run
It Is working - my remote ftp is mounted.
What next step to use to copy the contents of the "img" folder to my local folder? Automator "Copy Finder items" not work. I get error "Copy the Finder stuff was not delivered with the required data".
Please help.
on run {input, parameters}
#Connect to server
tell application "Finder"
mount volume "ftp://server_name/path_to_folder/img" as user name "user_name" with password "password"
end tell
return input
end run
It Is working - my remote ftp is mounted.
What next step to use to copy the contents of the "img" folder to my local folder? Automator "Copy Finder items" not work. I get error "Copy the Finder stuff was not delivered with the required data".
Please help.